From aae46468c77f47a88664172ceb2c3d8bc2aa08a4 Mon Sep 17 00:00:00 2001 From: "nielsbreu@gmail.com" Date: Sun, 24 Mar 2013 18:41:19 +0000 Subject: Added a /toggledownfall command that toggles the weather. changed back the stop.lua git-svn-id: http://mc-server.googlecode.com/svn/trunk@1312 0a769ca7-a7f5-676a-18bf-c427514a06d6 --- MCServer/Plugins/Core/stop.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'MCServer/Plugins/Core/stop.lua') diff --git a/MCServer/Plugins/Core/stop.lua b/MCServer/Plugins/Core/stop.lua index 4b4cca3b6..0a06fc7d3 100644 --- a/MCServer/Plugins/Core/stop.lua +++ b/MCServer/Plugins/Core/stop.lua @@ -1,8 +1,6 @@ function HandleStopCommand( Split, Player ) Server = cRoot:Get():GetServer() - PluginManager = cRoot:Get():GetPluginManager() Server:SendMessage( cChatColor.Green .. "Stopping the server..." ) - PluginManager:ExecuteConsoleCommand("stop") - --cRoot:Get():ServerCommand("stop") + cRoot:Get():ServerCommand("stop") return true end \ No newline at end of file -- cgit v1.2.3