mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
- Quick fix for NPE in awardBooster.
This commit is contained in:
@@ -563,7 +563,7 @@ public class QuestWinLose extends ControlWinLose {
|
|||||||
final List<String> sets = new ArrayList<String>();
|
final List<String> sets = new ArrayList<String>();
|
||||||
|
|
||||||
for (SealedProductTemplate bd : Singletons.getModel().getBoosters()) {
|
for (SealedProductTemplate bd : Singletons.getModel().getBoosters()) {
|
||||||
if (qData.getFormat().isSetLegal(bd.getEdition())) {
|
if (bd != null && qData.getFormat().isSetLegal(bd.getEdition())) {
|
||||||
sets.add(bd.getEdition());
|
sets.add(bd.getEdition());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user