From 61c21218e216f7f84b86e3d6e7ce4ca125f068e7 Mon Sep 17 00:00:00 2001 From: LexManos Date: Mon, 17 Sep 2012 04:40:46 -0700 Subject: [PATCH] Fix recursion issue with new special item entity code. --- common/net/minecraftforge/common/ForgeInternalHandler.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/net/minecraftforge/common/ForgeInternalHandler.java b/common/net/minecraftforge/common/ForgeInternalHandler.java index 16c516949..c7020d911 100644 --- a/common/net/minecraftforge/common/ForgeInternalHandler.java +++ b/common/net/minecraftforge/common/ForgeInternalHandler.java @@ -20,7 +20,7 @@ public class ForgeInternalHandler { entity.setDead(); event.setCanceled(true); - event.world.spawnEntityInWorld(entity); + event.world.spawnEntityInWorld(newEntity); } } }