diff --git a/src/main/java/de/srendi/advancedperipherals/common/util/LuaConverter.java b/src/main/java/de/srendi/advancedperipherals/common/util/LuaConverter.java index 40741dcb9..5bef952ad 100644 --- a/src/main/java/de/srendi/advancedperipherals/common/util/LuaConverter.java +++ b/src/main/java/de/srendi/advancedperipherals/common/util/LuaConverter.java @@ -47,7 +47,7 @@ public static Map livingEntityToLua(LivingEntity entity) { } public static Map animalToLua(Animal animal, ItemStack itemInHand) { - Map data = entityToLua(animal); + Map data = livingEntityToLua(animal); data.put("baby", animal.isBaby()); data.put("inLove", animal.isInLove()); data.put("aggressive", animal.isAggressive());