diff --git a/mods/ITEMS/mcl_monster_spawner/init.lua b/mods/ITEMS/mcl_monster_spawner/init.lua index 6d19ace3..e9b938f1 100644 --- a/mods/ITEMS/mcl_monster_spawner/init.lua +++ b/mods/ITEMS/mcl_monster_spawner/init.lua @@ -106,7 +106,9 @@ minetest.register_node("mcl_monster_spawner:spawner", { local meta = minetest.get_meta(pos) if meta:get_int("active") == 1 then local obj = find_doll(pos) - obj:remove() + if obj then + obj:remove() + end end end,