From 757e537ea427c14c37709f98d80cf8e163d7c2f2 Mon Sep 17 00:00:00 2001 From: JP Guerrero Date: Tue, 13 Dec 2016 21:19:15 +0100 Subject: [PATCH] Fix checking for big recipes --- init.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.lua b/init.lua index eef99bc..5933a88 100644 --- a/init.lua +++ b/init.lua @@ -90,7 +90,7 @@ function craftguide:get_recipe(player_name, tooltip_l, item, recipe_num, recipes -- https://github.com/kilbith/xdecor/blob/master/handlers/helpers.lua#L1 local rows = ceil(table.maxn(items) / width) - if width > 3 or rows > 3 then + if recipe_type == "normal" and width > 3 or rows > 3 then formspec = formspec.."label["..(offset_X)..","..(iY+2).. ";Recipe is too big to\nbe displayed (".. width.."x"..rows..")]"