Changes
From Forge Community Wiki
1 byte added
, 17:08, 20 April 2021
mLine 81: |
Line 81: |
| public void onNeighborNotify(final BlockEvent.NeighborNotifyEvent event) | | public void onNeighborNotify(final BlockEvent.NeighborNotifyEvent event) |
| { | | { |
− | if (world.isClientSide()) return; | + | if (!world.isClientSide()) return; |
| BlockPos eventPos = event.getPos(); | | BlockPos eventPos = event.getPos(); |
| for (Direction direction : event.getNotifiedSides()) // cycle through notified directions | | for (Direction direction : event.getNotifiedSides()) // cycle through notified directions |