Update doors
This commit is contained in:
parent
501d6d44d9
commit
e1d8bab479
@ -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,
|
||||
})
|
||||
|
Loading…
x
Reference in New Issue
Block a user