From 04ca15a3a9540e95737f1718d38ad4426cc28c5d Mon Sep 17 00:00:00 2001 From: LevelX2 Date: Sat, 17 Sep 2016 16:45:53 +0200 Subject: [PATCH] Some minor fixes. --- .../org/mage/plugins/card/dl/sources/GathererSymbols.java | 2 +- .../common/continuous/MaximumHandSizeControllerEffect.java | 4 +++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/GathererSymbols.java b/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/GathererSymbols.java index 10bd03ff7a9..7aaaa9d0ad0 100644 --- a/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/GathererSymbols.java +++ b/Mage.Client/src/main/java/org/mage/plugins/card/dl/sources/GathererSymbols.java @@ -35,7 +35,7 @@ public class GathererSymbols implements Iterable { "W/U", "U/B", "B/R", "R/G", "G/W", "W/B", "U/R", "B/G", "R/W", "G/U", "2/W", "2/U", "2/B", "2/R", "2/G", "WP", "UP", "BP", "RP", "GP", - "X", "S", "T", "Q", "C"}; + "X", "S", "T", "Q", "C", "E"}; private static final int minNumeric = 0, maxNumeric = 16; public GathererSymbols(String path) { diff --git a/Mage/src/main/java/mage/abilities/effects/common/continuous/MaximumHandSizeControllerEffect.java b/Mage/src/main/java/mage/abilities/effects/common/continuous/MaximumHandSizeControllerEffect.java index b7e9cd575a8..e479cfaa5c1 100644 --- a/Mage/src/main/java/mage/abilities/effects/common/continuous/MaximumHandSizeControllerEffect.java +++ b/Mage/src/main/java/mage/abilities/effects/common/continuous/MaximumHandSizeControllerEffect.java @@ -173,8 +173,10 @@ public class MaximumHandSizeControllerEffect extends ContinuousEffectImpl { } else if ((handSize instanceof StaticValue && ((StaticValue) handSize).getValue() == Integer.MAX_VALUE) || !(handSize instanceof StaticValue)) { sb.append(" is "); } - if ((handSize instanceof StaticValue && ((StaticValue) handSize).getValue() != Integer.MAX_VALUE) || !(handSize instanceof StaticValue)) { + if ((handSize instanceof StaticValue && ((StaticValue) handSize).getValue() != Integer.MAX_VALUE)) { sb.append(CardUtil.numberToText(((StaticValue) handSize).getValue())); + } else if (!(handSize instanceof StaticValue)) { + sb.append(handSize.getMessage()); } if (duration == Duration.EndOfGame) { sb.append(" for the rest of the game");