Retire deprecated API call

This commit is contained in:
Aaron Suen 2022-10-30 14:34:51 -04:00
parent 50cc8d78ef
commit c56f703b6f

View File

@ -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