From a841121dde1a1162575bff0f9d63f42d35f13df9 Mon Sep 17 00:00:00 2001 From: Flanks255 <32142731+Flanks255@users.noreply.github.com> Date: Sun, 2 Jun 2024 17:54:50 -0500 Subject: [PATCH] Fixed animation on stands. --- .../actuallyadditions/mod/blocks/BlockDisplayStand.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/blocks/BlockDisplayStand.java b/src/main/java/de/ellpeck/actuallyadditions/mod/blocks/BlockDisplayStand.java index 94577cb13..c5377e7ce 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/blocks/BlockDisplayStand.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/blocks/BlockDisplayStand.java @@ -76,7 +76,7 @@ public class BlockDisplayStand extends BlockContainerBase { heldItem.shrink(1); else player.swing(hand, true); - return InteractionResult.CONSUME; + return InteractionResult.SUCCESS; } else if (ItemUtil.canBeStacked(heldItem, stackThere)) { int maxTransfer = Math.min(stackThere.getCount(), heldItem.getMaxStackSize() - heldItem.getCount()); if (maxTransfer > 0) { @@ -87,7 +87,7 @@ public class BlockDisplayStand extends BlockContainerBase { ItemStack newStackThere = stackThere.copy(); newStackThere.shrink(maxTransfer); stand.inv.setStackInSlot(0, newStackThere); - return InteractionResult.CONSUME; + return InteractionResult.SUCCESS; } } } else {