mirror of
https://github.com/MinecraftForge/MinecraftForge.git
synced 2026-11-12 16:27:47 +00:00
Merge pull request #2593 from williewillus/dupedropfix
[1.9] Fix double dropping of items. Closes #2549
This commit is contained in:
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;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user