We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4f4ab10 commit 8434aebCopy full SHA for 8434aeb
lib/misc.lua
@@ -1471,7 +1471,13 @@ function Cryptid.is_in_shop(key, consumable)
1471
"Uncommon",
1472
"Rare",
1473
})[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
+ 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
1481
return center.unlocked or nil
1482
end
1483
return nil
0 commit comments