Add left handed override for hypixel
This commit is contained in:
14
src/main/kotlin/moe/nea/firmament/util/ErrorBoundary.kt
Normal file
14
src/main/kotlin/moe/nea/firmament/util/ErrorBoundary.kt
Normal file
@@ -0,0 +1,14 @@
|
||||
/*
|
||||
* SPDX-FileCopyrightText: 2023 Linnea Gräf <nea@nea.moe>
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-3.0-or-later
|
||||
*/
|
||||
|
||||
package moe.nea.firmament.util
|
||||
|
||||
|
||||
fun <T> errorBoundary(block: () -> T): T? {
|
||||
// TODO: implement a proper error boundary here to avoid crashing minecraft code
|
||||
return block()
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user