Fix crash in abmp when abm label is nil
This commit is contained in:
parent
5bb66d0bad
commit
a3022ddb9a
@ -6,7 +6,7 @@ local nabm=0
|
||||
minetest.register_on_mods_loaded(function()
|
||||
|
||||
for k,v in pairs(minetest.registered_abms) do
|
||||
local n=v.label
|
||||
local n=v.label or "ABM-"..k
|
||||
local olda=v.action
|
||||
minetest.registered_abms[k].action=function(pos, node, aoc, aocw)
|
||||
local t1=os.clock()
|
||||
|
Loading…
x
Reference in New Issue
Block a user