mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
Merge branch 'master' into 'master'
ConquestUtil: skip promos (again) and other reprints when choosing the starting Planeswalker See merge request core-developers/forge!4161
This commit is contained in:
@@ -179,7 +179,8 @@ public class ConquestUtil {
|
||||
return Iterables.filter(FModel.getMagicDb().getCommonCards(), new Predicate<PaperCard>() {
|
||||
@Override
|
||||
public boolean apply(PaperCard card) {
|
||||
if (FModel.getMagicDb().getEditions().get(card.getEdition()).getType() == CardEdition.Type.REPRINT) {
|
||||
if (FModel.getMagicDb().getEditions().get(card.getEdition()).getType() == CardEdition.Type.PROMOS
|
||||
|| FModel.getMagicDb().getEditions().get(card.getEdition()).getType() == CardEdition.Type.REPRINT) {
|
||||
return false; // exclude promos from the starting planeswalker set
|
||||
}
|
||||
if (selected.contains(card.getName())) {
|
||||
|
||||
Reference in New Issue
Block a user