Reverting casting in onEntityDeath

This commit is contained in:
nossr50 2012-02-29 09:23:04 -08:00
parent 0b43dd2747
commit 423eb97e0f

View File

@ -147,7 +147,7 @@ public class mcEntityListener implements Listener
@EventHandler
public void onEntityDeath(EntityDeathEvent event)
{
LivingEntity x = (LivingEntity) event.getEntity();
LivingEntity x = event.getEntity();
x.setFireTicks(0);
//Remove mob from mob spawner list