summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/Core/stop.lua
diff options
context:
space:
mode:
authornielsbreu@gmail.com <nielsbreu@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-07-01 13:42:59 +0200
committernielsbreu@gmail.com <nielsbreu@gmail.com@0a769ca7-a7f5-676a-18bf-c427514a06d6>2013-07-01 13:42:59 +0200
commit3a6e9983f5f16078c3956267eea2c967b24a55a9 (patch)
tree188e5a6397c4e072077c92f9a18a6f4ac579ef21 /MCServer/Plugins/Core/stop.lua
parentUpdated the /back and /top command. (diff)
downloadcuberite-3a6e9983f5f16078c3956267eea2c967b24a55a9.tar
cuberite-3a6e9983f5f16078c3956267eea2c967b24a55a9.tar.gz
cuberite-3a6e9983f5f16078c3956267eea2c967b24a55a9.tar.bz2
cuberite-3a6e9983f5f16078c3956267eea2c967b24a55a9.tar.lz
cuberite-3a6e9983f5f16078c3956267eea2c967b24a55a9.tar.xz
cuberite-3a6e9983f5f16078c3956267eea2c967b24a55a9.tar.zst
cuberite-3a6e9983f5f16078c3956267eea2c967b24a55a9.zip
Diffstat (limited to 'MCServer/Plugins/Core/stop.lua')
-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