Skip to content

Commit d7c9c76

Browse files
committed
prevent baritone troll crashes
1 parent 734ac8c commit d7c9c76

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

src/main/kotlin/com/lambda/client/LambdaMod.kt

+5
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,11 @@ class LambdaMod {
6363
fun init(event: FMLInitializationEvent) {
6464
LOG.info("Initializing $NAME $VERSION")
6565

66+
// load this class so that baritone doesn't crash
67+
// see https://github.com/cabaletta/baritone/issues/3859
68+
@Suppress("UNUSED_VARIABLE")
69+
val baritoneTroll = baritone.api.utils.BetterBlockPos::class.java
70+
6671
LoaderWrapper.loadAll()
6772

6873
MinecraftForge.EVENT_BUS.register(ForgeEventProcessor)

0 commit comments

Comments
 (0)