Minor change to rule text generation.

This commit is contained in:
LevelX2 2013-02-17 19:05:52 +01:00
parent ac1f6d5512
commit 36cd392a02

View file

@ -121,7 +121,9 @@ public class GainAbilityAllEffect extends ContinuousEffectImpl<GainAbilityAllEff
sb.append(" gain ");
}
sb.append(ability.getRule());
sb.append(" ").append(duration.toString());
if (duration.toString().length() > 0) {
sb.append(" ").append(duration.toString());
}
staticText = sb.toString();
}
}