From aa2c52baac16acfd3fea91be648587819042554b Mon Sep 17 00:00:00 2001 From: Nassim Jahnke Date: Mon, 23 Dec 2024 20:21:31 +0100 Subject: [PATCH] Fix dropper inventory var --- .../net/minecraft/world/level/block/DropperBlock.java.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;