From 3a6e9983f5f16078c3956267eea2c967b24a55a9 Mon Sep 17 00:00:00 2001 From: "nielsbreu@gmail.com" Date: Mon, 1 Jul 2013 11:42:59 +0000 Subject: Fixed /stop command. The console still doesn't get closed though(FS#249). git-svn-id: http://mc-server.googlecode.com/svn/trunk@1637 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- MCServer/Plugins/Core/stop.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'MCServer/Plugins/Core') diff --git a/MCServer/Plugins/Core/stop.lua b/MCServer/Plugins/Core/stop.lua index 0a06fc7d3..1240c49d8 100644 --- a/MCServer/Plugins/Core/stop.lua +++ b/MCServer/Plugins/Core/stop.lua @@ -1,6 +1,6 @@ function HandleStopCommand( Split, Player ) Server = cRoot:Get():GetServer() Server:SendMessage( cChatColor.Green .. "Stopping the server..." ) - cRoot:Get():ServerCommand("stop") + cRoot:Get():QueueExecuteConsoleCommand("stop") return true end \ No newline at end of file -- cgit v1.2.3