diff options
Diffstat (limited to '')
-rw-r--r-- | MCServer/Plugins/Core/weather.lua | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/MCServer/Plugins/Core/weather.lua b/MCServer/Plugins/Core/weather.lua index 49cbaa079..7176e544e 100644 --- a/MCServer/Plugins/Core/weather.lua +++ b/MCServer/Plugins/Core/weather.lua @@ -1,10 +1,10 @@ -function HandleToggleDownfallCommand( Split, Player )
- World = Player:GetWorld()
- if World:GetWeather() == 0 then
- World:SetWeather(1)
- else
- World:SetWeather(0)
- end
- Player:SendMessage( cChatColor.Green .. "Weather toggled")
- return true
+function HandleToggleDownfallCommand( Split, Player ) + World = Player:GetWorld() + if World:GetWeather() == 0 then + World:SetWeather(1) + else + World:SetWeather(0) + end + Player:SendMessage( cChatColor.Green .. "Weather toggled") + return true end
\ No newline at end of file |