Skip to content

Commit 7907d24

Browse files
authored
Merge pull request #5 from pumpncode/fix-crash-without-blockbuster
fix crash when blockbuster value manipulation is not installed
2 parents fd8ee1b + b3c4826 commit 7907d24

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

utilities/functions.lua

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,10 @@ XIII.compat_check = function(card, target)
1414
return false
1515
end
1616

17+
if not Blockbuster or not Blockbuster.ValueManipulation or not Blockbuster.ValueManipulation.CompatStandards then
18+
return true
19+
end
20+
1721
for _, standard in pairs(Blockbuster.ValueManipulation.CompatStandards) do
1822
if standard.exempt_jokers and standard.exempt_jokers[target.config.center.key] then
1923
return false

0 commit comments

Comments
 (0)