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