Closed savilli closed 1 year ago
minetest.add_entity(...) can fail and return nil if there are too many entities already. In this case, we try to call get_luaentity on nil and the server crashes.
minetest.add_entity(...)
nil
get_luaentity
Not crashing sounds good but i guess you have other problems with that much entities...
minetest.add_entity(...)
can fail and returnnil
if there are too many entities already. In this case, we try to callget_luaentity
onnil
and the server crashes.