mirror of
https://github.com/minetest-mods/craftguide.git
synced 2024-11-22 19:03:43 +01:00
Small fix
This commit is contained in:
parent
dc5d28fdf0
commit
227be72798
6
init.lua
6
init.lua
@ -1397,6 +1397,12 @@ local function get_export_fs(fs, data, panel, is_recipe, is_usage, max_stacks_rc
|
|||||||
|
|
||||||
if stack_fs > craft_max then
|
if stack_fs > craft_max then
|
||||||
stack_fs = craft_max
|
stack_fs = craft_max
|
||||||
|
|
||||||
|
if is_recipe then
|
||||||
|
data.scrbar_rcp = craft_max
|
||||||
|
elseif is_usage then
|
||||||
|
data.scrbar_usg = craft_max
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
fs(sprintf("style[scrbar_%s;noclip=true]", name),
|
fs(sprintf("style[scrbar_%s;noclip=true]", name),
|
||||||
|
Loading…
Reference in New Issue
Block a user