Add left handed override for hypixel

This commit is contained in:
nea
2023-10-28 03:54:06 +02:00
parent 710d9ec3f7
commit 9e7da2829c
3 changed files with 56 additions and 5 deletions

View 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()
}