diff --git a/src/main/java/dev/compactmods/machines/machine/CompactMachineBlock.java b/src/main/java/dev/compactmods/machines/machine/CompactMachineBlock.java index df2631f4..474acbca 100644 --- a/src/main/java/dev/compactmods/machines/machine/CompactMachineBlock.java +++ b/src/main/java/dev/compactmods/machines/machine/CompactMachineBlock.java @@ -188,7 +188,7 @@ public void setPlacedBy(Level worldIn, BlockPos pos, BlockState state, @Nullable @SuppressWarnings("deprecation") public InteractionResult use(BlockState state, Level level, BlockPos pos, Player player, InteractionHand handIn, BlockHitResult hit) { if (level.isClientSide()) - return InteractionResult.SUCCESS; + return InteractionResult.PASS; MinecraftServer server = level.getServer(); ItemStack mainItem = player.getMainHandItem(); @@ -287,7 +287,7 @@ public InteractionResult use(BlockState state, Level level, BlockPos pos, Player } } - return InteractionResult.SUCCESS; + return InteractionResult.PASS; } private void createAndEnterRoom(Player player, MinecraftServer server, CompactMachineBlockEntity tile) {