From 7915ca89387ed97850ab1d52277405712aa04e17 Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Sun, 5 Mar 2017 19:46:23 +0100 Subject: [PATCH] Don't take ladder twice when placing Also don't take ladder when failing to place --- mods/ITEMS/mcl_core/nodes.lua | 3 --- 1 file changed, 3 deletions(-) diff --git a/mods/ITEMS/mcl_core/nodes.lua b/mods/ITEMS/mcl_core/nodes.lua index c6e18288..094ea930 100644 --- a/mods/ITEMS/mcl_core/nodes.lua +++ b/mods/ITEMS/mcl_core/nodes.lua @@ -1208,9 +1208,6 @@ minetest.register_node("mcl_core:ladder", { if idef.sounds and idef.sounds.place then minetest.sound_play(idef.sounds.place, {pos=above, gain=1}) end - if not minetest.setting_getbool("creative_mode") then - itemstack:take_item() - end end return itemstack end,