Update input power blockstate in prototype class

This commit is contained in:
zontreck 2024-04-26 06:35:24 -07:00
parent a747846585
commit ee74638b9f

View file

@ -52,8 +52,8 @@ public abstract class RedstoneBlock extends RotatableBlock
@Override @Override
public void onNeighborChange(BlockState state, LevelReader level, BlockPos pos, BlockPos neighbor) { public void onNeighborChange(BlockState state, LevelReader level, BlockPos pos, BlockPos neighbor) {
onRedstone(level, pos, redstoneIsActivated(level, pos)); onRedstone(level, pos, redstoneIsActivated(level, pos));
state.setValue(INPUT_POWER, redstoneIsActivated(level, pos));
} }