Fix falling node crash on return

This commit is contained in:
Aaron Suen 2024-03-03 12:02:02 -05:00
parent 077742aa69
commit c42395a7ba

View File

@ -176,7 +176,7 @@ function api.return_falling(pos, ipos)
obj:get_luaentity():set_node(pt[i].n, pt[i].m)
nodecore.log("action", string_format(
"skyrealm %s node %q arrived at %s",
api.islandhash(ipos), pt[i],
api.islandhash(ipos), pt[i].n.name,
minetest.pos_to_string(p)))
pt[i] = nil
else