Fixed Limited not working

This commit is contained in:
magenoxx 2012-06-24 17:56:18 +04:00
parent 043fdc20b8
commit 9affdd1dcc

View file

@ -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) {