mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2025-02-17 21:23:44 +01:00
Uproot mushroom when in bright area
This commit is contained in:
@ -125,7 +125,7 @@ minetest.register_abm({
|
|||||||
chance = 50,
|
chance = 50,
|
||||||
action = function(pos, node)
|
action = function(pos, node)
|
||||||
if minetest.get_node_light(pos, nil) > 12 then
|
if minetest.get_node_light(pos, nil) > 12 then
|
||||||
minetest.remove_node(pos)
|
minetest.dig_node(pos)
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user