From 846172e69cabcf7380c831e792669539fb3dc95b Mon Sep 17 00:00:00 2001 From: Mrbysco Date: Sun, 28 Apr 2024 22:08:12 +0200 Subject: [PATCH] Update DrillItem.java --- .../java/de/ellpeck/actuallyadditions/mod/items/DrillItem.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/items/DrillItem.java b/src/main/java/de/ellpeck/actuallyadditions/mod/items/DrillItem.java index c8340d2ef..f87d8fea7 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/items/DrillItem.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/items/DrillItem.java @@ -144,7 +144,7 @@ public class DrillItem extends ItemEnergy { // player.getInventory().setItem(slot, player.getItemInHand(hand)); // WorldUtil.setHandItemWithoutAnnoyingSound(player, hand, stack); - return InteractionResult.SUCCESS; + return InteractionResult.sidedSuccess(level.isClientSide); } } }