Fix double dropping of items. Closes #2549

This commit is contained in:
Vincent Lee committed 2016-03-19 19:57:11 -05:00
1 parent ad03581fbe
commit c39328993e
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;
}