From 364b3f6d11866f62ad1a0e63b330a66675db99ad Mon Sep 17 00:00:00 2001 From: Jean-Patrick Guerrero Date: Sun, 10 Jan 2021 18:03:17 +0100 Subject: [PATCH] Small cleaning --- init.lua | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/init.lua b/init.lua index c6b10e7..88d45ea 100644 --- a/init.lua +++ b/init.lua @@ -1765,12 +1765,14 @@ local function get_inventory_mode(player, fs, data, full_height) local yoffset = extras and 0 or 0.2 if extras then - local max_val = 30 + local max_val = 15 - if __3darmor and __skinsdb then - max_val = 50 - elseif __skinsdb and not __3darmor then - max_val = 15 + if __3darmor then + max_val = max_val + 15 + end + + if __skinsdb then + max_val = max_val + 20 end fs(sprintf([[