From 9cf5e8a9cddf392e33aaa895a840a6b5f5cdd3e6 Mon Sep 17 00:00:00 2001 From: jebibot <83044352+jebibot@users.noreply.github.com> Date: Mon, 22 Apr 2024 01:31:39 +0900 Subject: [PATCH] fix: revert to vanilla brewing stand remainder mechanic --- .../block/entity/BrewingStandBlockEntityMixin_Fabric.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/arclight-fabric/src/main/java/io/izzel/arclight/fabric/mixin/core/world/level/block/entity/BrewingStandBlockEntityMixin_Fabric.java b/arclight-fabric/src/main/java/io/izzel/arclight/fabric/mixin/core/world/level/block/entity/BrewingStandBlockEntityMixin_Fabric.java index f7640c2ed..23d17a4aa 100644 --- a/arclight-fabric/src/main/java/io/izzel/arclight/fabric/mixin/core/world/level/block/entity/BrewingStandBlockEntityMixin_Fabric.java +++ b/arclight-fabric/src/main/java/io/izzel/arclight/fabric/mixin/core/world/level/block/entity/BrewingStandBlockEntityMixin_Fabric.java @@ -36,16 +36,14 @@ private static void doBrew(Level level, BlockPos pos, NonNullList sta return; } + itemStack.shrink(1); if (itemStack.getItem().hasCraftingRemainingItem()) { ItemStack itemStack2 = new ItemStack(itemStack.getItem().getCraftingRemainingItem()); - itemStack.shrink(1); if (itemStack.isEmpty()) { itemStack = itemStack2; } else { Containers.dropItemStack(level, pos.getX(), pos.getY(), pos.getZ(), itemStack2); } - } else { - itemStack.shrink(1); } stacks.set(3, itemStack);