This commit is contained in:
Lord89James 2013-01-26 08:02:57 -08:00
commit d88fe3c3da

View file

@ -82,7 +82,9 @@ function doors:register_door(name, def)
meta:set_string("infotext", "Owned by "..pn)
end
itemstack:take_item()
if not minetest.setting_getbool("creative_mode") then
itemstack:take_item()
end
return itemstack
end,
})