UI to toggle off computer, toggle full input capturing.

This commit is contained in:
Florian Nücke
2020-12-28 17:53:45 +01:00
parent ff08e2fb9b
commit e2610e148f
15 changed files with 304 additions and 42 deletions

View File

@@ -91,14 +91,8 @@ public final class ComputerBlock extends HorizontalBlock {
} else {
if (player.isSneaking()) {
computer.start();
} else {
if (computer.isRunning()) {
if (world.isRemote()) {
openTerminalScreen(computer);
}
} else {
computer.start();
}
} else if (world.isRemote()) {
openTerminalScreen(computer);
}
}