mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-30 00:56:47 +01:00
Add casting to onEntityDeath
This commit is contained in:
parent
a7292c3a2c
commit
f2fccd4a64
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user