1
0
réplica de https://gitlab.com/rautars/weather_pack.git sincronizado 2025-10-21 13:45:43 +02:00

Merge pull request #1 from khonkhortisan/patch-1

Don't eat stairs
Este cometimento está contido em:
Jeija
2013-04-20 23:05:56 -07:00
ascendente 92d3571ff5 cf7e64ff40
cometimento c38edd5678

Ver ficheiro

@@ -62,7 +62,8 @@ minetest.register_abm({
if minetest.registered_nodes[node.name].drawtype == "normal"
or minetest.registered_nodes[node.name].drawtype == "allfaces_optional" then
local np = addvectors(pos, {x=0, y=1, z=0})
if minetest.env:get_node_light(np, 0.5) == 15 then
if minetest.env:get_node_light(np, 0.5) == 15
and minetest.env:get_node(np).name == "air" then
minetest.env:add_node(np, {name="weather:snow_cover"})
end
end