Immersive Weathering [FORGE]

Immersive Weathering [FORGE]

6M Downloads

[Forge] Conflict with Iguana Tweaks Reborn (crash on startup)

GeorgeOrwell1 opened this issue ยท 3 comments

commented

Using version 1.2.11 of Immersive Weathering, Forge 40.1.51 and version 2.11.4 of Iguana Tweaks Reborn.

When having both Immersive Weathering and Iguana Tweaks Reborn installed the game crashes on startup telling something along the lines of
"Cannot invoke "net.minecraft.world.food.FoodProperties.m_38744()" because the return value of "net.minecraft.world.item.Item.m_41473_()" is null_".
I've made an issue in the Iguana Tweaks issues tab (#226) and he states that it probably is on your end and that you should "check if it's edible and get the FoodProperies" (see comments).

Crash report + log:
latest(3).log
crash-2022-06-14_14.40.07-client.txt

commented

To clarify, my mod checks if an item is edible and gets the food properties. In this case, there's something wrong in the isEdible method that returns true but the item has no FoodProperties

commented

Not really sure what might be causing the issue. Could a food that provides zero hunger points and zero saturation cause this?

commented

That shouldn't be a problem since the the FoodProperties seems to be created anyway