
Minecraft 1.19.2 java.lang.NullPointerException: Cannot invoke "squeek.wthitharvestability.helpers.ToolType.action()" because "effectiveToolType" is null
corkfuse opened this issue ยท 0 comments
Issue: Looking at grass causes NullPointerException in console continuously, looking away stops the cause of the exception.
Screenshot:
Full log: https://paste.atlauncher.com/view/be81b2ff-225b-4136-bde7-9dfff260d460
java.lang.NullPointerException: Cannot invoke "squeek.wthitharvestability.helpers.ToolType.action()" because "effectiveToolType" is null
at TRANSFORMER/[email protected]/squeek.wthitharvestability.helpers.ToolHelper.isToolEffectiveAgainst(ToolHelper.java:36)
at TRANSFORMER/[email protected]/squeek.wthitharvestability.WailaHandler.getHarvestability(WailaHandler.java:125)
at TRANSFORMER/[email protected]/squeek.wthitharvestability.WailaHandler.appendBody(WailaHandler.java:64)
at TRANSFORMER/[email protected]/mcp.mobius.waila.gui.hud.ComponentHandler.handleBlock(ComponentHandler.java:57)
at TRANSFORMER/[email protected]/mcp.mobius.waila.gui.hud.ComponentHandler.gatherBlock(ComponentHandler.java:45)
at TRANSFORMER/[email protected]/mcp.mobius.waila.gui.hud.TooltipHandler.tick(TooltipHandler.java:121)
at TRANSFORMER/[email protected]/mcp.mobius.waila.WailaClient.onClientTick(WailaClient.java:65)
at TRANSFORMER/[email protected]/mcp.mobius.waila.forge.ForgeWailaClient.access$000(ForgeWailaClient.java:28)
at TRANSFORMER/[email protected]/mcp.mobius.waila.forge.ForgeWailaClient$Subscriber.clientTick(ForgeWailaClient.java:67)
at TRANSFORMER/[email protected]/mcp.mobius.waila.forge.__Subscriber_clientTick_ClientTickEvent.invoke(.dynamic)
at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:73)
at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:315)
at MC-BOOTSTRAP/net.minecraftforge.eventbus/net.minecraftforge.eventbus.EventBus.post(EventBus.java:296)
at TRANSFORMER/[email protected]/net.minecraftforge.event.ForgeEventFactory.onPostClientTick(ForgeEventFactory.java:839)
at TRANSFORMER/[email protected]/net.minecraft.client.Minecraft.m_91398_(Minecraft.java:1852)
at TRANSFORMER/[email protected]/net.minecraft.client.Minecraft.m_91383_(Minecraft.java:1078)
at TRANSFORMER/[email protected]/net.minecraft.client.Minecraft.m_91374_(Minecraft.java:700)
at TRANSFORMER/[email protected]/net.minecraft.client.main.Main.m_239872_(Main.java:212)
at TRANSFORMER/[email protected]/net.minecraft.client.main.Main.main(Main.java:51)
at java.base/jdk.internal.reflect.DirectMethodHandleAccessor.invoke(DirectMethodHandleAccessor.java:103)
at java.base/java.lang.reflect.Method.invoke(Method.java:580)
at MC-BOOTSTRAP/[email protected]/net.minecraftforge.fml.loading.targets.CommonClientLaunchHandler.lambda$launchService$0(CommonClientLaunchHandler.java:27)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandlerDecorator.launch(LaunchServiceHandlerDecorator.java:30)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:53)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.LaunchServiceHandler.launch(LaunchServiceHandler.java:71)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.run(Launcher.java:106)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.Launcher.main(Launcher.java:77)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:26)
at MC-BOOTSTRAP/[email protected]/cpw.mods.modlauncher.BootstrapLaunchConsumer.accept(BootstrapLaunchConsumer.java:23)
at [email protected]/cpw.mods.bootstraplauncher.BootstrapLauncher.main(BootstrapLauncher.java:141)
Is it possible to release a fix/(or back-port a fix) for this issue on Minecraft 1.19.2?
Loader: Forge 43.3.0
Mods:
- /badpackets-forge-0.2.3.jar
- /wthit-forge-5.19.0.jar
- /wthitharvestability-mc1.19.2-2.1.0.jar