Shutdown computers in /computercraft shutdown

Unloading them now means they'll never be turned on again, which is a
little unideal.
This commit is contained in:
SquidDev committed 2019-02-27 13:49:07 +00:00
1 parent 67af7a698b
commit 3e28f79ce9
1 file changed
+1 -1
@@ -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" ) );
} );