Fix tooltip

This commit is contained in:
Jean-Patrick Guerrero 2018-12-17 01:09:32 +01:00
parent 9da500ce2c
commit 74a2750a4d
2 changed files with 2 additions and 2 deletions

@ -30,7 +30,7 @@ craftguide.register_craft_type("digging", {
```Lua
craftguide.register_craft({
type = "digging",
output = "default:cobble",
output = "default:cobble 2",
items = {"default:stone"},
})
```

@ -221,7 +221,7 @@ local function _get_recipe(iX, iY, xoffset, recipe_num, recipes, show_usage)
"item_image_button[" .. X .. "," ..
(Y + (sfinv_only and 0.7 or 0.2)) .. ";" ..
BUTTON_SIZE .. "," .. BUTTON_SIZE .. ";" .. item_r ..
";" .. item_r .. ";" .. label .. "]" .. tltip
";" .. item_r:match("%S*") .. ";" .. label .. "]" .. tltip
end
BUTTON_SIZE = 1.1