mirror of
https://github.com/magefree/mage.git
synced 2025-12-20 02:30:08 -08:00
Add files via upload
This commit is contained in:
parent
85948bf028
commit
d559914205
1 changed files with 1 additions and 1 deletions
|
|
@ -227,7 +227,7 @@ public abstract class ExpansionSet implements Serializable {
|
||||||
theBooster.remove(0);
|
theBooster.remove(0);
|
||||||
}
|
}
|
||||||
int keepCards = 4;
|
int keepCards = 4;
|
||||||
ArrayList<rarity> dontRemove = new ArrayList<>(Arrays.asList(Rarity.UNCOMMON, Rarity.RARE, Rarity.MYTHIC));
|
ArrayList<Rarity> dontRemove = new ArrayList<>(Arrays.asList(Rarity.UNCOMMON, Rarity.RARE, Rarity.MYTHIC));
|
||||||
int toRemove;
|
int toRemove;
|
||||||
while (theBooster.size() > 15) {
|
while (theBooster.size() > 15) {
|
||||||
if (theBooster.size() > keepCards) {
|
if (theBooster.size() > keepCards) {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue