Add casting to onEntityDeath

This commit is contained in:
nossr50 2012-02-29 09:11:45 -08:00
parent a7292c3a2c
commit f2fccd4a64

View File

@ -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