summaryrefslogtreecommitdiffstats
path: root/MCServer
diff options
context:
space:
mode:
Diffstat (limited to 'MCServer')
-rw-r--r--MCServer/Plugins/Core/stop.lua2
1 files changed, 1 insertions, 1 deletions
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