Update doors

This commit is contained in:
Kotolegokot 2013-02-09 12:07:02 +06:00
parent 501d6d44d9
commit e1d8bab479

View File

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