Move world-related functions to mcl_worlds
This commit is contained in:
parent
06ef86ddd3
commit
b0c87f74fe
35 changed files with 212 additions and 202 deletions
|
@ -164,7 +164,7 @@ mcl_weather.rain.make_weather = function()
|
|||
end
|
||||
|
||||
for _, player in ipairs(minetest.get_connected_players()) do
|
||||
if (mcl_weather.is_underwater(player) or not mcl_util.has_weather(player:getpos())) then
|
||||
if (mcl_weather.is_underwater(player) or not mcl_worlds.has_weather(player:getpos())) then
|
||||
mcl_weather.rain.remove_sound(player)
|
||||
return false
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue