fixed NPE when amount is null

This commit is contained in:
BetaSteward 2011-06-11 23:11:48 -04:00
parent 9c4297c74a
commit b7e754d8d9

View file

@ -44,7 +44,9 @@ public class PermanentsOnBattlefieldCount implements DynamicValue {
@Override
public String toString() {
return amount.toString();
if (amount != null)
return amount.toString();
return "";
}
@Override