Rename weather_pack mod to mcl_weather

This commit is contained in:
Wuzzy 2017-11-21 01:35:31 +01:00
parent 37668eb1f9
commit 69ade14509
27 changed files with 240 additions and 240 deletions

View file

@ -34,7 +34,7 @@ local revertsky = function(dtime)
return
end
skycolor.remove_layer("lightning")
mcl_weather.skycolor.remove_layer("lightning")
ps = {}
end
@ -136,8 +136,8 @@ lightning.strike = function(pos)
local name = player:get_player_name()
if ps[name] == nil then
ps[name] = {p = player, sky = sky}
skycolor.add_layer("lightning", {{r=255,g=255,b=255}}, true)
skycolor.active = true
mcl_weather.skycolor.add_layer("lightning", {{r=255,g=255,b=255}}, true)
mcl_weather.skycolor.active = true
end
end