mirror of
https://git.minetest.land/MineClone2/MineClone2.git
synced 2024-12-04 08:43:45 +01:00
Fix sign being used up in creative
parent
03351895f3
commit
ccd5260d92
@ -240,7 +240,9 @@ minetest.register_node("signs:sign_wall", {
|
|||||||
z = above.z + sign_info.delta.z}, "signs:text")
|
z = above.z + sign_info.delta.z}, "signs:text")
|
||||||
text:setyaw(sign_info.yaw)
|
text:setyaw(sign_info.yaw)
|
||||||
|
|
||||||
|
if not minetest.setting_getbool("creative_mode") then
|
||||||
itemstack:take_item()
|
itemstack:take_item()
|
||||||
|
end
|
||||||
return itemstack
|
return itemstack
|
||||||
end,
|
end,
|
||||||
on_construct = function(pos)
|
on_construct = function(pos)
|
||||||
|
Loading…
Reference in New Issue
Block a user