mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-08 19:34:09 +01:00
30e4583dbe
By: Initial Source <noreply+automated@papermc.io>
11 lines
581 B
Diff
11 lines
581 B
Diff
--- a/net/minecraft/server/commands/GiveCommand.java
|
|
+++ b/net/minecraft/server/commands/GiveCommand.java
|
|
@@ -60,7 +60,7 @@
|
|
ItemEntity entityitem;
|
|
|
|
if (flag && itemstack1.isEmpty()) {
|
|
- entityitem = entityplayer.drop(itemstack, false);
|
|
+ entityitem = entityplayer.drop(itemstack, false, false, false); // CraftBukkit - SPIGOT-2942: Add boolean to call event
|
|
if (entityitem != null) {
|
|
entityitem.makeFakeItem();
|
|
}
|