diff --git a/src/main/java/com/gmail/nossr50/listeners/mcEntityListener.java b/src/main/java/com/gmail/nossr50/listeners/mcEntityListener.java index 65f2e14db..bd5ed7e9b 100644 --- a/src/main/java/com/gmail/nossr50/listeners/mcEntityListener.java +++ b/src/main/java/com/gmail/nossr50/listeners/mcEntityListener.java @@ -147,7 +147,7 @@ public class mcEntityListener implements Listener @EventHandler public void onEntityDeath(EntityDeathEvent event) { - LivingEntity x = event.getEntity(); + LivingEntity x = (LivingEntity) event.getEntity(); x.setFireTicks(0); //Remove mob from mob spawner list