Crock Pot

Crock Pot

328k Downloads

[Bug] Rendering overlay crash

LetterN opened this issue ยท 1 comments

commented

Description

Random crashes (50-50) on TheWinterRescue modpack, clientside.

Info

Java: 17
Minecraft: 1.16.5
Mod Version: 2.0.1

Log

java.lang.NullPointerException: Rendering overlay
	at com.sihenzhang.crockpot.client.FoodValuesTooltip.onTooltip(FoodValuesTooltip.java:25) ~[?:2.0.1-release] {re:classloading}
	at net.minecraftforge.eventbus.ASMEventHandler_91_FoodValuesTooltip_onTooltip_ItemTooltipEvent.invoke(.dynamic) ~[?:?] {}
	at net.minecraftforge.eventbus.ASMEventHandler.invoke(ASMEventHandler.java:85) ~[eventbus-4.0.0.jar:?] {}
	at net.minecraftforge.eventbus.EventBus.post(EventBus.java:302) ~[eventbus-4.0.0.jar:?] {}
	at net.minecraftforge.eventbus.EventBus.post(EventBus.java:283) ~[eventbus-4.0.0.jar:?] {}
	at net.minecraftforge.event.ForgeEventFactory.onItemTooltip(ForgeEventFactory.java:289) ~[?:?] {re:classloading}
	at net.minecraft.item.ItemStack.func_82840_a(ItemStack.java:701) ~[?:?] {re:mixin,xf:fml:placebo:placeboitemusehook,xf:fml:forge:filled_map.4,xf:fml:forge:itemstack,re:classloading,xf:fml:placebo:placeboitemusehook,xf:fml:forge:filled_map.4,xf:fml:forge:itemstack,pl:mixin:APP:performant.mixins.json:item.ItemStackMixin,pl:mixin:APP:tetra.mixins.json:MixinItemStack,pl:mixin:APP:itemfilters-common.mixins.json:ItemStackMixin,pl:mixin:APP:frostedheart.mixins.json:minecraft.ItemStackMixin,pl:mixin:A}
	at net.minecraft.client.Minecraft.func_213251_b(Minecraft.java:642) ~[?:?]
	[TRUNTECATED net.miencraft, nothing else useful down the stack]
commented

Duplicated #57