diff options
author | JP Guerrero <jeanpatrick.guerrero@gmail.com> | 2016-12-13 21:19:15 +0100 |
---|---|---|
committer | JP Guerrero <jeanpatrick.guerrero@gmail.com> | 2016-12-13 21:20:53 +0100 |
commit | 757e537ea427c14c37709f98d80cf8e163d7c2f2 (patch) | |
tree | a6252812db9cc6bc100193cebe020c4efb78e23c | |
parent | dc1ba8245ed641c976a4ede764c5ae8bc974af3c (diff) |
Fix checking for big recipes
-rw-r--r-- | init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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..")]" |