2024-12-11 22:26:55 +01:00
|
|
|
--- a/net/minecraft/server/commands/GiveCommand.java
|
|
|
|
+++ b/net/minecraft/server/commands/GiveCommand.java
|
2024-04-23 17:15:00 +02:00
|
|
|
@@ -60,7 +60,7 @@
|
2024-12-11 22:26:55 +01:00
|
|
|
ItemEntity entityitem;
|
2022-03-11 21:47:13 +01:00
|
|
|
|
2023-06-07 17:30:00 +02:00
|
|
|
if (flag && itemstack1.isEmpty()) {
|
2024-04-23 17:15:00 +02:00
|
|
|
- entityitem = entityplayer.drop(itemstack, false);
|
|
|
|
+ entityitem = entityplayer.drop(itemstack, false, false, false); // CraftBukkit - SPIGOT-2942: Add boolean to call event
|
2022-03-11 21:47:13 +01:00
|
|
|
if (entityitem != null) {
|
|
|
|
entityitem.makeFakeItem();
|
|
|
|
}
|