Update NixieTubeBlock.java

- Revert rushed solution to auto nixie control
This commit is contained in:
simibubi 2021-04-04 01:30:01 +02:00
parent e8338d4805
commit b05a03d417

View file

@ -63,12 +63,12 @@ public class NixieTubeBlock extends HorizontalBlock implements ITE<NixieTubeTile
return ActionResultType.SUCCESS;
BlockPos currentPos = pos;
// while (true) {
// BlockPos nextPos = currentPos.offset(left);
// if (world.getBlockState(nextPos) != state)
// break;
// currentPos = nextPos;
// }
while (true) {
BlockPos nextPos = currentPos.offset(left);
if (world.getBlockState(nextPos) != state)
break;
currentPos = nextPos;
}
int index = 0;