Retire deprecated API call
This commit is contained in:
parent
50cc8d78ef
commit
c56f703b6f
4
init.lua
4
init.lua
@ -314,12 +314,10 @@ nodecore.register_dnt({
|
|||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
|
||||||
nodecore.register_limited_abm({
|
minetest.register_abm({
|
||||||
label = "ZipRune Detection",
|
label = "ZipRune Detection",
|
||||||
interval = 1,
|
interval = 1,
|
||||||
chance = 1,
|
chance = 1,
|
||||||
limited_max = 100,
|
|
||||||
limited_alert = 1000,
|
|
||||||
nodenames = {glyph},
|
nodenames = {glyph},
|
||||||
action = function(pos, node)
|
action = function(pos, node)
|
||||||
if not isziprune(pos, node) then return end
|
if not isziprune(pos, node) then return end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user