Merge pull request #2593 from williewillus/dupedropfix

[1.9] Fix double dropping of items. Closes #2549
This commit is contained in:
LexManos committed 2016-03-21 19:35:58 -07:00
commit 81e0f2350d
1 file changed
+4 -1
@@ -556,7 +556,10 @@ public class ForgeHooks
return null;
}
player.getEntityWorld().spawnEntityInWorld(event.entityItem);
if (player.isServerWorld())
{
player.getEntityWorld().spawnEntityInWorld(event.entityItem);
}
return event.entityItem;
}