diff options
Diffstat (limited to 'patch-remap/og/net/minecraft/server/commands/CommandGive.patch')
-rw-r--r-- | patch-remap/og/net/minecraft/server/commands/CommandGive.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/patch-remap/og/net/minecraft/server/commands/CommandGive.patch b/patch-remap/og/net/minecraft/server/commands/CommandGive.patch new file mode 100644 index 0000000000..fb37066202 --- /dev/null +++ b/patch-remap/og/net/minecraft/server/commands/CommandGive.patch @@ -0,0 +1,11 @@ +--- a/net/minecraft/server/commands/CommandGive.java ++++ b/net/minecraft/server/commands/CommandGive.java +@@ -61,7 +61,7 @@ + + if (flag && itemstack1.isEmpty()) { + itemstack1.setCount(1); +- entityitem = entityplayer.drop(itemstack1, false); ++ entityitem = entityplayer.drop(itemstack1, false, false, false); // SPIGOT-2942: Add boolean to call event + if (entityitem != null) { + entityitem.makeFakeItem(); + } |