mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 04:52:07 -08:00
Some minor fixes.
This commit is contained in:
parent
5d98324c82
commit
04ca15a3a9
2 changed files with 4 additions and 2 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue