From 282b7e00254a2db592a50e790648a0a5e19ee89c Mon Sep 17 00:00:00 2001 From: Wuzzy Date: Fri, 8 Dec 2017 18:41:59 +0100 Subject: [PATCH] Fix double slab not working if no craft for slab --- mods/ITEMS/mcl_stairs/api.lua | 3 --- 1 file changed, 3 deletions(-) diff --git a/mods/ITEMS/mcl_stairs/api.lua b/mods/ITEMS/mcl_stairs/api.lua index bd6d4962e..eea074048 100644 --- a/mods/ITEMS/mcl_stairs/api.lua +++ b/mods/ITEMS/mcl_stairs/api.lua @@ -193,9 +193,6 @@ function mcl_stairs.register_slab(subname, recipeitem, groups, images, descripti not ((dir.y >= 0 and minetest.get_item_group(under.name, "slab_top") == 1) or (dir.y <= 0 and minetest.get_item_group(under.name, "slab_top") == 0)) then - if not recipeitem then - return itemstack - end local player_name = placer:get_player_name() if minetest.is_protected(pointed_thing.under, player_name) and not minetest.check_player_privs(placer, "protection_bypass") then