mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-12-27 19:17:44 +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
|
@EventHandler
|
||||||
public void onEntityDeath(EntityDeathEvent event)
|
public void onEntityDeath(EntityDeathEvent event)
|
||||||
{
|
{
|
||||||
LivingEntity x = event.getEntity();
|
LivingEntity x = (LivingEntity) event.getEntity();
|
||||||
x.setFireTicks(0);
|
x.setFireTicks(0);
|
||||||
|
|
||||||
//Remove mob from mob spawner list
|
//Remove mob from mob spawner list
|
||||||
|
Loading…
Reference in New Issue
Block a user