From 55f03a2d86fec8f44722ee3d2d5f2d60cb93c5e6 Mon Sep 17 00:00:00 2001 From: LexManos Date: Fri, 16 Oct 2026 13:40:27 -0700 Subject: [PATCH] Fix incorrect filter when placing items on bundles. Closes #10902 --- .../minecraft/net/minecraft/world/item/BundleItem.java.patch | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/patches/minecraft/net/minecraft/world/item/BundleItem.java.patch b/patches/minecraft/net/minecraft/world/item/BundleItem.java.patch index b9b3690e00..c00be284d2 100644 --- a/patches/minecraft/net/minecraft/world/item/BundleItem.java.patch +++ b/patches/minecraft/net/minecraft/world/item/BundleItem.java.patch @@ -4,7 +4,7 @@ public boolean overrideOtherStackedOnMe( final ItemStack self, final ItemStack other, final Slot slot, final ClickAction clickAction, final Player player, final SlotAccess carriedItem ) { -+ if (other.getCount() != 1) return false; ++ if (self.getCount() != 1) return false; // Forge: prevent insertions when we're stacked, which would cause duplication when unstacked+ if (clickAction == ClickAction.PRIMARY && other.isEmpty()) { toggleSelectedItem(self, -1); return false;