From b8db525dacd6a758d67a888565bf07eb959ce1a0 Mon Sep 17 00:00:00 2001 From: Jean-Patrick Guerrero Date: Sun, 22 Aug 2021 21:44:16 +0200 Subject: [PATCH] Hide Quick Crafting scrollbars after click --- init.lua | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/init.lua b/init.lua index 4101a4f..65bea3e 100644 --- a/init.lua +++ b/init.lua @@ -2416,6 +2416,14 @@ local function rcp_fields(player, data, fields) elseif fields.craft_rcp or fields.craft_usg then craft_stack(player, data, fields.craft_rcp) + + if fields.craft_rcp then + data.export_rcp = nil + data.scrbar_rcp = 1 + else + data.export_usg = nil + data.scrbar_usg = 1 + end else select_item(player, name, data, fields) end