From 3e28f79ce942e55c3813220802321c39c439ebce Mon Sep 17 00:00:00 2001 From: SquidDev Date: Wed, 27 Feb 2019 13:47:50 +0000 Subject: [PATCH] Shutdown computers in /computercraft shutdown Unloading them now means they'll never be turned on again, which is a little unideal. --- .../computercraft/shared/command/CommandComputerCraft.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/dan200/computercraft/shared/command/CommandComputerCraft.java b/src/main/java/dan200/computercraft/shared/command/CommandComputerCraft.java index cd7b14010..70730a17e 100644 --- a/src/main/java/dan200/computercraft/shared/command/CommandComputerCraft.java +++ b/src/main/java/dan200/computercraft/shared/command/CommandComputerCraft.java @@ -163,7 +163,7 @@ public final class CommandComputerCraft extends CommandDelegate for( ServerComputer computer : computers ) { if( computer.isOn() ) shutdown++; - computer.unload(); + computer.shutdown(); } context.getSender().sendMessage( text( "Shutdown " + shutdown + " / " + computers.size() + " computers" ) ); } );