mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-28 16:06:48 +01:00
Update NixieTubeBlock.java
- Revert rushed solution to auto nixie control
This commit is contained in:
parent
e8338d4805
commit
b05a03d417
1 changed files with 6 additions and 6 deletions
|
@ -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 a new issue