Incompatibility with Legendary Survival Overhaul - Tooltip Crash
peetey897 opened this issue ยท 0 comments
When DivineRPG is installed alongside Legendary Survival Overhaul, some sort of incompatibility occurs which causes tooltip crashes with a number of Divine RPG items. This issue is specifically with these two mods and continues to happen even if no other mods are installed. Without JEI present, the error simply causes the game to crash when you attempt to pick up an affected item. With JEI present, this code is produced in the log, as JEI tries to catch tootip errors:
[20:10:23] [Render thread/ERROR] [me.je.co.ut.ErrorUtil/]: Caught an error getting an Ingredient's tooltip:
-- Ingredient --
Details:
Name: Tormented Helmet
Mod's Name: DivineRPG
Registry Name: divinerpg:tormented_helmet
Class Name: class net.minecraft.world.item.ItemStack
toString Name: 1 tormented_helmet
Unique Id for JEI (for JEI Blacklist): divinerpg:tormented_helmet
Ingredient Type for JEI: class net.minecraft.world.item.ItemStack
Error Info gathered from JEI: 1 tormented_helmet divinerpg:tormented_helmet nbt:{Damage:0}
-- Stack Trace --
java.lang.NullPointerException
[20:10:23] [Render thread/ERROR] [ne.mi.ev.EventBus/EVENTBUS]: Exception caught during firing event: null
Index: 1
Listeners:
0: LOWEST
1: ASM: class sfiomn.legendarysurvivaloverhaul.client.tooltips.TooltipHandler onTooltip(Lnet/minecraftforge/event/entity/player/ItemTooltipEvent;)V
java.lang.NullPointerException
This is an example, as many armor items were affected. I think this is an issue some sort of heat or cold resistance clash between systems in the two mods, as it seems like the affected armor items were ones which looked like they might have a cold resistance property.
I have also reported this issue on the CurseForge issues page for legendary survival overhaul as I am not sure which mod's code is the source of the issue.
This issue is occurring with the most recent version of both mods on Minecraft 1.20.1 and Forge 47.4.0.