diff --git a/spawneggs/eggs.lua b/spawneggs/eggs.lua index 32ce243..cbf0f26 100644 --- a/spawneggs/eggs.lua +++ b/spawneggs/eggs.lua @@ -45,7 +45,7 @@ antum.spawneggs.addEgg = function(name, spawn, ingredients) local pos = target.above pos.y = pos.y + 1 minetest.add_entity(pos, spawn) - if not minetest.setting_getbool('creative_mode') then + if not minetest.settings:get_bool('creative_mode') then itemstack:take_item() end