diff --git a/src/main/java/aeronicamc/mods/mxtune/blocks/MusicBlock.java b/src/main/java/aeronicamc/mods/mxtune/blocks/MusicBlock.java index 7c7a32c4..4691cef2 100644 --- a/src/main/java/aeronicamc/mods/mxtune/blocks/MusicBlock.java +++ b/src/main/java/aeronicamc/mods/mxtune/blocks/MusicBlock.java @@ -263,7 +263,7 @@ public void neighborChanged(BlockState pState, World pLevel, BlockPos pPos, Bloc musicBlockEntity -> { // get redStone input from the rear side - boolean isSidePowered = pLevel.hasSignal(pPos.relative(pState.getValue(HORIZONTAL_FACING).getOpposite()), pState.getValue(HORIZONTAL_FACING)); + boolean isSidePowered = pLevel.hasSignal(pPos.relative(pState.getValue(HORIZONTAL_FACING).getOpposite()), pState.getValue(HORIZONTAL_FACING).getOpposite()); // Lever spam prevention. see use method above for more details. if (musicBlockEntity.notHeld()) {