mirror of
https://github.com/correl/mage.git
synced 2024-11-15 11:09:30 +00:00
Fixed Limited not working
This commit is contained in:
parent
043fdc20b8
commit
9affdd1dcc
1 changed files with 1 additions and 1 deletions
|
@ -426,7 +426,7 @@ public abstract class ExpansionSet implements Serializable {
|
|||
}
|
||||
|
||||
protected Card getRandom(Rarity rarity) {
|
||||
if (rarities.containsKey(rarity))
|
||||
if (!rarities.containsKey(rarity))
|
||||
return null;
|
||||
int size = rarities.get(rarity).size();
|
||||
if (size > 0) {
|
||||
|
|
Loading…
Reference in a new issue