Fix recursion issue with new special item entity code.
This commit is contained in:
parent
e1c2a20e98
commit
61c21218e2
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ public class ForgeInternalHandler
|
|||
{
|
||||
entity.setDead();
|
||||
event.setCanceled(true);
|
||||
event.world.spawnEntityInWorld(entity);
|
||||
event.world.spawnEntityInWorld(newEntity);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue