summaryrefslogtreecommitdiffstats
path: root/MCServer/Plugins/Core/time.lua
diff options
context:
space:
mode:
authorAlexander Harkness <bearbin@gmail.com>2013-08-07 19:36:38 +0200
committerAlexander Harkness <bearbin@gmail.com>2013-08-07 19:36:38 +0200
commitf29b2b8ea6f833cad818cf35fc0a22a046eb66a8 (patch)
treef03168654b629840880bc4d420fa6158d04d3a04 /MCServer/Plugins/Core/time.lua
parentAdded a global .user file to initialize debugging options. (diff)
downloadcuberite-f29b2b8ea6f833cad818cf35fc0a22a046eb66a8.tar
cuberite-f29b2b8ea6f833cad818cf35fc0a22a046eb66a8.tar.gz
cuberite-f29b2b8ea6f833cad818cf35fc0a22a046eb66a8.tar.bz2
cuberite-f29b2b8ea6f833cad818cf35fc0a22a046eb66a8.tar.lz
cuberite-f29b2b8ea6f833cad818cf35fc0a22a046eb66a8.tar.xz
cuberite-f29b2b8ea6f833cad818cf35fc0a22a046eb66a8.tar.zst
cuberite-f29b2b8ea6f833cad818cf35fc0a22a046eb66a8.zip
Diffstat (limited to 'MCServer/Plugins/Core/time.lua')
-rw-r--r--MCServer/Plugins/Core/time.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/MCServer/Plugins/Core/time.lua b/MCServer/Plugins/Core/time.lua
index b5d3c991a..fd2816f23 100644
--- a/MCServer/Plugins/Core/time.lua
+++ b/MCServer/Plugins/Core/time.lua
@@ -9,7 +9,7 @@ function HandleTimeCommand( Split, Player )
Server:SendMessage(cChatColor.Green .. "[INFO] " .. cChatColor.White .. "Time was set to daytime" )
elseif( string.upper( Split[2] ) == "NIGHT") then
Player:GetWorld():SetTimeOfDay( 12000 + 1000 )
- Server:SendMessage(cChatColor.Green .. "[INFO] " .. cChatColor.White .. "Time was set to nighttime" )
+ Server:SendMessage(cChatColor.Green .. "[INFO] " .. cChatColor.White .. "Time was set to night time" )
elseif( string.upper(Split[2]) == "SET" ) and ( tonumber(Split[3]) ~= nil) then
Player:GetWorld():SetTimeOfDay( tonumber(Split[3]) )
Server:SendMessage(cChatColor.Green .. "[INFO] " .. cChatColor.White .. "Time was set to " .. Split[3] )
@@ -20,4 +20,4 @@ function HandleTimeCommand( Split, Player )
Player:SendMessage(cChatColor.Yellow .. "[INFO] " .. cChatColor.White .. "Usage: /time [Day/Night/Set/Add]" )
end
return true
-end \ No newline at end of file
+end