[BUG] Fix NeoForge crash when Vanish is installed

This commit is contained in:
2024-07-22 21:12:08 +02:00
parent 62e532fcc3
commit eb00a3ec26
15 changed files with 15 additions and 15 deletions

View File

@@ -30,7 +30,7 @@ public class CraterLib {
handler = new CraterNeoForgeNetworkHandler(FMLLoader.getDist().isClient() ? PacketSide.CLIENT : PacketSide.SERVER);
if (ModloaderEnvironment.INSTANCE.isModLoaded("vmod")) {
eventBus.register(new Vanish());
NeoForge.EVENT_BUS.register(new Vanish());
}
}