mirror of
				https://github.com/SquidDev-CC/CC-Tweaked
				synced 2025-10-31 13:42:59 +00:00 
			
		
		
		
	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:
		| @@ -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" ) ); | ||||
|                 } ); | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 SquidDev
					SquidDev