From fdc5a629d81097b74c0448f6078f1da43307e34b Mon Sep 17 00:00:00 2001 From: Justin Vitale <4002351+justinvvitale@users.noreply.github.com> Date: Thu, 9 Jul 2020 04:46:36 +1000 Subject: [PATCH] Return if client --- .../java/techreborn/blocks/storage/item/StorageUnitBlock.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/techreborn/blocks/storage/item/StorageUnitBlock.java b/src/main/java/techreborn/blocks/storage/item/StorageUnitBlock.java index 81c3ef94d..bc8c94cd9 100644 --- a/src/main/java/techreborn/blocks/storage/item/StorageUnitBlock.java +++ b/src/main/java/techreborn/blocks/storage/item/StorageUnitBlock.java @@ -61,7 +61,7 @@ public class StorageUnitBlock extends BlockMachineBase { @Override public ActionResult onUse(BlockState state, World worldIn, BlockPos pos, PlayerEntity playerIn, Hand hand, BlockHitResult hitResult) { - if (unitType == TRContent.StorageUnit.CREATIVE) { + if (unitType == TRContent.StorageUnit.CREATIVE || worldIn.isClient) { return super.onUse(state, worldIn, pos, playerIn, hand, hitResult); }