mirror of
https://git.minetest.land/VoxeLibre/VoxeLibre.git
synced 2024-12-24 00:49:34 +01:00
Uproot mushroom when in bright area
This commit is contained in:
parent
fca5520d63
commit
4ec051a0a4
1 changed files with 1 additions and 1 deletions
|
@ -125,7 +125,7 @@ minetest.register_abm({
|
|||
chance = 50,
|
||||
action = function(pos, node)
|
||||
if minetest.get_node_light(pos, nil) > 12 then
|
||||
minetest.remove_node(pos)
|
||||
minetest.dig_node(pos)
|
||||
return
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue