1
0
Fork 0

Fix sign being used up in creative

This commit is contained in:
Wuzzy 2017-02-08 01:25:43 +01:00
parent 03351895f3
commit ccd5260d92
1 changed files with 2 additions and 0 deletions

View File

@ -240,7 +240,9 @@ minetest.register_node("signs:sign_wall", {
z = above.z + sign_info.delta.z}, "signs:text")
text:setyaw(sign_info.yaw)
if not minetest.setting_getbool("creative_mode") then
itemstack:take_item()
end
return itemstack
end,
on_construct = function(pos)