From ccd5260d92c4999f2694724542dc23ec89505711 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Wed, 8 Feb 2017 01:25:43 +0100 Subject: [PATCH] Fix sign being used up in creative --- mods/signs/init.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mods/signs/init.lua b/mods/signs/init.lua index 2fba31d87..bf5de5f52 100644 --- a/mods/signs/init.lua +++ b/mods/signs/init.lua @@ -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)