mirror of
https://github.com/Jozufozu/Flywheel.git
synced 2024-11-10 20:45:59 +01:00
Update NixieTubeBlock.java
- Revert rushed solution to auto nixie control
This commit is contained in:
parent
e8338d4805
commit
b05a03d417
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user