Compatibility issue between this mod's ItemFoodBase class and CraftTweaker
IchHabeHunger54 opened this issue ยท 0 comments
So I encountered the issue with Corn Delight, but tracked it down to this library, hence I'm opening this issue here.
When trying to set an item's food value through CraftTweaker, this mod's items (or rather, this mod's dependencies' items) won't work. This is bad, as I'm trying to change this mod's food values in order to balance it out with other mods.
I've tracked the issue down to ItemFoodBase#getFoodProperties, where a new FoodProperties
object is created every time. To fix this issue, I would suggest setting the food properties in the correct field of the Item
class in the constructor of ItemFoodBase
.