From 3f2fd88499b4310357653355ab23063e9f3ed4c5 Mon Sep 17 00:00:00 2001 From: KiryuEnjoyer Date: Fri, 15 May 2026 17:47:09 +0200 Subject: [PATCH] One Liner to Fix keg deleting items in container slot 1.20.1 --- .../brewinandchewin/common/block/entity/KegBlockEntity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/umpaz/brewinandchewin/common/block/entity/KegBlockEntity.java b/src/main/java/umpaz/brewinandchewin/common/block/entity/KegBlockEntity.java index 89ddb50..834311f 100644 --- a/src/main/java/umpaz/brewinandchewin/common/block/entity/KegBlockEntity.java +++ b/src/main/java/umpaz/brewinandchewin/common/block/entity/KegBlockEntity.java @@ -339,8 +339,8 @@ private boolean processFermenting(KegFermentingRecipe recipe, KegBlockEntity keg if (slotStack.hasCraftingRemainingItem()) { ejectIngredientRemainder(slotStack.getCraftingRemainingItem()); } - if (!slotStack.isEmpty()) - slotStack.shrink(1); + + inventory.extractItem(i, 1, false); } return true; }