[MC 1.20.1, Fabric] Sudden null pointer exception on startup
jonko0493 opened this issue ยท 0 comments
Running the mod on Fabric 0.16.9 with Minecraft 1.20.1. Mod version is 1.3.1+1.20.1 which you released months ago, so I'm not sure why it just started crashing all of a sudden. Attempting to run the game results in a crash with the following error message:
java.lang.RuntimeException: Could not execute entrypoint stage 'main' due to errors, provided by 'paladins' at 'net.paladins.PaladinsMod'!
at net.fabricmc.loader.impl.FabricLoaderImpl.lambda$invokeEntrypoints$2(FabricLoaderImpl.java:403)
at net.fabricmc.loader.impl.util.ExceptionUtil.gatherExceptions(ExceptionUtil.java:33)
at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:401)
at net.fabricmc.loader.impl.game.minecraft.Hooks.startClient(Hooks.java:52)
at knot//net.minecraft.class_310.<init>(class_310.java:458)
at knot//net.minecraft.client.main.Main.main(Main.java:211)
at net.fabricmc.loader.impl.game.minecraft.MinecraftGameProvider.launch(MinecraftGameProvider.java:480)
at net.fabricmc.loader.impl.launch.knot.Knot.launch(Knot.java:74)
at net.fabricmc.loader.impl.launch.knot.KnotClient.main(KnotClient.java:23)
Caused by: java.lang.NullPointerException: Cannot read field "ignore_items_required_mods" because "net.paladins.PaladinsMod.tweaksConfig.value" is null
at knot//net.paladins.item.Weapons.register(Weapons.java:186)
at knot//net.paladins.PaladinsMod.onInitialize(PaladinsMod.java:73)
at net.fabricmc.loader.impl.FabricLoaderImpl.invokeEntrypoints(FabricLoaderImpl.java:399)
... 6 more