mirror of
https://github.com/minetest-mods/craftguide.git
synced 2024-11-22 10:53:43 +01:00
Fix tooltip
This commit is contained in:
parent
9da500ce2c
commit
74a2750a4d
@ -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"},
|
||||
})
|
||||
```
|
||||
|
2
init.lua
2
init.lua
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user