diff --git a/Mage.Client/src/main/java/mage/client/deck/generator/DeckGenerator.java b/Mage.Client/src/main/java/mage/client/deck/generator/DeckGenerator.java index 2a7d857019..2982c97a12 100644 --- a/Mage.Client/src/main/java/mage/client/deck/generator/DeckGenerator.java +++ b/Mage.Client/src/main/java/mage/client/deck/generator/DeckGenerator.java @@ -396,7 +396,8 @@ public class DeckGenerator { private static Card getBasicLand(ColoredManaSymbol color, Map> basicLands) { Random random = new Random(); String landName = DeckGeneratorPool.getBasicLandName(color.toString()); - return basicLands.get(landName).get(random.nextInt(basicLands.size() - 1)).getMockCard().copy(); + List basicLandsInfo = basicLands.get(landName); + return basicLandsInfo.get(random.nextInt(basicLandsInfo.size() - 1)).getMockCard().copy(); }