Skip to content

Commit 8434aeb

Browse files
author
jolly[bot]
committed
jolly-bot: auto-format Lua files using Stylua
1 parent 4f4ab10 commit 8434aeb

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

lib/misc.lua

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1471,7 +1471,13 @@ function Cryptid.is_in_shop(key, consumable)
14711471
"Uncommon",
14721472
"Rare",
14731473
})[center.rarity] or center.rarity
1474-
if SMODS.Rarities[rare] and (SMODS.Rarities[rare].get_weight or (SMODS.Rarities[rare].default_weight and SMODS.Rarities[rare].default_weight > 0)) then
1474+
if
1475+
SMODS.Rarities[rare]
1476+
and (
1477+
SMODS.Rarities[rare].get_weight
1478+
or (SMODS.Rarities[rare].default_weight and SMODS.Rarities[rare].default_weight > 0)
1479+
)
1480+
then
14751481
return center.unlocked or nil
14761482
end
14771483
return nil

0 commit comments

Comments
 (0)