mirror of
https://github.com/mcMMO-Dev/mcMMO.git
synced 2024-11-30 00:56:47 +01:00
Reverting casting in onEntityDeath
This commit is contained in:
parent
0b43dd2747
commit
423eb97e0f
@ -147,7 +147,7 @@ public class mcEntityListener implements Listener
|
|||||||
@EventHandler
|
@EventHandler
|
||||||
public void onEntityDeath(EntityDeathEvent event)
|
public void onEntityDeath(EntityDeathEvent event)
|
||||||
{
|
{
|
||||||
LivingEntity x = (LivingEntity) event.getEntity();
|
LivingEntity x = 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