diff options
author | Alexander Harkness <bearbin@gmail.com> | 2013-07-31 18:10:59 +0200 |
---|---|---|
committer | Alexander Harkness <bearbin@gmail.com> | 2013-07-31 18:10:59 +0200 |
commit | 8ced99994bb654b935e5f858e1f13327ea7381fc (patch) | |
tree | ea716c9304b59a1dc37963f9e04f3081605f3daf /MCServer/Plugins/Core/viewdistance.lua | |
parent | Merge branch 'master' of github.com:tigerw/MCServer into tigerw-master (diff) | |
download | cuberite-8ced99994bb654b935e5f858e1f13327ea7381fc.tar cuberite-8ced99994bb654b935e5f858e1f13327ea7381fc.tar.gz cuberite-8ced99994bb654b935e5f858e1f13327ea7381fc.tar.bz2 cuberite-8ced99994bb654b935e5f858e1f13327ea7381fc.tar.lz cuberite-8ced99994bb654b935e5f858e1f13327ea7381fc.tar.xz cuberite-8ced99994bb654b935e5f858e1f13327ea7381fc.tar.zst cuberite-8ced99994bb654b935e5f858e1f13327ea7381fc.zip |
Diffstat (limited to '')
-rw-r--r-- | MCServer/Plugins/Core/viewdistance.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/MCServer/Plugins/Core/viewdistance.lua b/MCServer/Plugins/Core/viewdistance.lua index dfd310aa7..2cf96d8bc 100644 --- a/MCServer/Plugins/Core/viewdistance.lua +++ b/MCServer/Plugins/Core/viewdistance.lua @@ -1,10 +1,10 @@ function HandleViewDistanceCommand( Split, Player ) if( #Split ~= 2 ) then - Player:SendMessage( cChatColor.Green .. "Usage: /viewdistance [".. cClientHandle.MIN_VIEW_DISTANCE .."-".. cClientHandle.MAX_VIEW_DISTANCE .."]" ) + Player:SendMessage(cChatColor.Yellow .. "[INFO] " .. cChatColor.White .. "Usage: /viewdistance [".. cClientHandle.MIN_VIEW_DISTANCE .."-".. cClientHandle.MAX_VIEW_DISTANCE .."]" ) return true end Player:GetClientHandle():SetViewDistance( Split[2] ) - Player:SendMessage(cChatColor.Green .. "Your viewdistance has been set to " .. Player:GetClientHandle():GetViewDistance() ) + Player:SendMessage(cChatColor.Green .. "[INFO] " .. cChatColor.White .. "Your view distance has been set to " .. Player:GetClientHandle():GetViewDistance() ) return true end
\ No newline at end of file |