Return after removing wielditem entity

This commit is contained in:
Wuzzy 2020-04-09 13:39:42 +02:00
parent 3e518ee42d
commit ef2adaff66

View File

@ -36,6 +36,7 @@ minetest.register_entity(
-- Remove orphan wielditem
minetest.log("info", "[wielditem] Attempted to spawn orphan wielditem entity!")
self.object:remove()
return
end
self.object:set_armor_groups({immortal=1})
end,