mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 08:17:35 +00:00
Fix double dropping of items. Closes #2549
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user