Remove needing to sneak to start a computer.

This commit is contained in:
Florian Nücke
2020-12-27 01:59:15 +01:00
parent 39d7625d34
commit 4084880916

View File

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