Skip to content

Commit 4623f03

Browse files
authored
fix(): Fix "attempt to index a nil value" when selecting a hand under Nostalgic Mark blind (#815)
1 parent 8d2c721 commit 4623f03

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

items/blind.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ local oldmark = {
237237
order = 12,
238238
boss_colour = HEX("4f6367"),
239239
debuff_hand = function(self, cards, hand, handname, check)
240-
if next(hand["Pair"]) then
240+
if hand and (hand.valid or (hand["Pair"] and next(hand["Pair"]))) then
241241
G.GAME.blind.triggered = true
242242
return true
243243
end

0 commit comments

Comments
 (0)