diff --git a/kristify-compact/index.lua b/kristify-compact/index.lua index c7ad6eb..dcb29bd 100644 --- a/kristify-compact/index.lua +++ b/kristify-compact/index.lua @@ -54,13 +54,13 @@ return sub end - repos("_name", 2) - local sub = repos("_stock", 1+nCategoryW) + repos("_name", 1) + local sub = repos("_stock", nCategoryW) if sub then local amount = tonumber(sub:getValue()) or 0 sub:setText(amount.." ("..math.floor(amount/64)..")") end - local meta = repos("_metaname", 1+nCategoryW*2) + local meta = repos("_metaname", nCategoryW*2) if meta then local name = meta:getValue() meta:setText(name..'@') @@ -73,4 +73,4 @@ end end) -return index \ No newline at end of file +return index