mirror of
https://github.com/luanti-org/minetest_game.git
synced 2025-05-20 14:23:16 -04:00
Merge 716397819d
into 67fa74ac01
This commit is contained in:
commit
d88fe3c3da
1 changed files with 3 additions and 1 deletions
|
@ -82,7 +82,9 @@ function doors:register_door(name, def)
|
||||||
meta:set_string("infotext", "Owned by "..pn)
|
meta:set_string("infotext", "Owned by "..pn)
|
||||||
end
|
end
|
||||||
|
|
||||||
itemstack:take_item()
|
if not minetest.setting_getbool("creative_mode") then
|
||||||
|
itemstack:take_item()
|
||||||
|
end
|
||||||
return itemstack
|
return itemstack
|
||||||
end,
|
end,
|
||||||
})
|
})
|
||||||
|
|
Loading…
Add table
Reference in a new issue