diff options
author | Nassim Jahnke <[email protected]> | 2024-12-23 20:21:31 +0100 |
---|---|---|
committer | Nassim Jahnke <[email protected]> | 2024-12-23 20:21:31 +0100 |
commit | aa2c52baac16acfd3fea91be648587819042554b (patch) | |
tree | fd4773290e2384ad102a668a540f9c9a87b23c87 | |
parent | 17d76ae42bf8a967cf703fc937b05bd351629351 (diff) | |
download | Paper-aa2c52baac16acfd3fea91be648587819042554b.tar.gz Paper-aa2c52baac16acfd3fea91be648587819042554b.zip |
Fix dropper inventory var
-rw-r--r-- | paper-server/patches/sources/net/minecraft/world/level/block/DropperBlock.java.patch | 2 |
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; |