forked from Mineclonia/Mineclonia
add correct mc conditions for snow
This commit is contained in:
parent
590abfeb0f
commit
e854be9f0f
|
@ -56,10 +56,6 @@ mcl_weather.register_weather("snow",{
|
|||
texture="weather_pack_snow_snowflake2.png"
|
||||
}
|
||||
},
|
||||
start = function() end,
|
||||
start_player = function(name)end,
|
||||
clear = function() end,
|
||||
at_pos = function(pos) end,
|
||||
change_at_pos = function(pos)
|
||||
local biome=minetest.get_biome_data(pos)
|
||||
if pos.y > 50 or (mcl_worlds.has_weather(pos) and biome.heat > 15 ) then
|
||||
|
|
Loading…
Reference in New Issue