mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 03:39:17 +00:00
Fix grisaia crash. Closes #242
This commit is contained in:
1 file changed
+1
-1
@@ -61,7 +61,7 @@ public class ItemInfiniteFruit extends ItemRelic implements IManaUsingItem {
|
||||
|
||||
if(count == 5)
|
||||
if(player.canEat(false))
|
||||
ReflectionHelper.setPrivateValue(EntityPlayer.class, player, 20, LibObfuscation.ITEM_IN_USE_COUNT);
|
||||
ReflectionHelper.setPrivateValue(EntityLivingBase.class, player, 20, LibObfuscation.ITEM_IN_USE_COUNT);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user