mirror of
https://codeberg.org/AntumLuanti/mod-cleaner.git
synced 2025-03-15 04:41:22 +00:00
Replace deprecated call to 'minetest.env'
This commit is contained in:
parent
ff382bba88
commit
096ae76d16
1 changed files with 1 additions and 1 deletions
2
init.lua
2
init.lua
|
@ -15,7 +15,7 @@ minetest.register_abm({
|
|||
interval = 1,
|
||||
chance = 1,
|
||||
action = function(pos, node)
|
||||
minetest.env:remove_node(pos)
|
||||
minetest.remove_node(pos)
|
||||
end,
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue