aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNassim Jahnke <[email protected]>2024-12-23 20:21:31 +0100
committerNassim Jahnke <[email protected]>2024-12-23 20:21:31 +0100
commitaa2c52baac16acfd3fea91be648587819042554b (patch)
treefd4773290e2384ad102a668a540f9c9a87b23c87
parent17d76ae42bf8a967cf703fc937b05bd351629351 (diff)
downloadPaper-aa2c52baac16acfd3fea91be648587819042554b.tar.gz
Paper-aa2c52baac16acfd3fea91be648587819042554b.zip
Fix dropper inventory var
-rw-r--r--paper-server/patches/sources/net/minecraft/world/level/block/DropperBlock.java.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/paper-server/patches/sources/net/minecraft/world/level/block/DropperBlock.java.patch b/paper-server/patches/sources/net/minecraft/world/level/block/DropperBlock.java.patch
index 047ee9babb..1b70c5b623 100644
--- a/paper-server/patches/sources/net/minecraft/world/level/block/DropperBlock.java.patch
+++ b/paper-server/patches/sources/net/minecraft/world/level/block/DropperBlock.java.patch
@@ -45,7 +45,7 @@
+ destinationInventory = containerAt.getOwner().getInventory();
+ }
+
-+ org.bukkit.event.inventory.InventoryMoveItemEvent event = new org.bukkit.event.inventory.InventoryMoveItemEvent(containerAt.getOwner().getInventory(), oitemstack, destinationInventory, true);
++ org.bukkit.event.inventory.InventoryMoveItemEvent event = new org.bukkit.event.inventory.InventoryMoveItemEvent(dispenserBlockEntity.getOwner().getInventory(), oitemstack, destinationInventory, true);
+ level.getCraftServer().getPluginManager().callEvent(event);
+ if (event.isCancelled()) {
+ return;