Skip to content
This repository has been archived by the owner on Aug 9, 2023. It is now read-only.

Commit

Permalink
Fix tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
kilbith committed Dec 17, 2018
1 parent 9da500c commit 74a2750
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"},
})
```
Expand Down
2 changes: 1 addition & 1 deletion init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 74a2750

Please sign in to comment.