diff --git a/Mage/src/mage/players/PlayerImpl.java b/Mage/src/mage/players/PlayerImpl.java index f0215aaec0..df3a955396 100644 --- a/Mage/src/mage/players/PlayerImpl.java +++ b/Mage/src/mage/players/PlayerImpl.java @@ -1514,7 +1514,7 @@ public abstract class PlayerImpl implements Player, Serializable { @Override public void idleTimeout(Game game) { - game.informPlayers(new StringBuilder(getName()).append(" has run out of time. Loosing the Match.").toString()); + game.informPlayers(new StringBuilder(getName()).append(" was idle for too long. Loosing the Match.").toString()); quit = true; idleTimeout = true; this.concede(game); diff --git a/Mage/src/mage/target/TargetImpl.java b/Mage/src/mage/target/TargetImpl.java index d0a0710458..0fa8de6a45 100644 --- a/Mage/src/mage/target/TargetImpl.java +++ b/Mage/src/mage/target/TargetImpl.java @@ -327,7 +327,7 @@ public abstract class TargetImpl implements Target { @Override public boolean isLegal(Ability source, Game game) { //20101001 - 608.2b - Set illegalTargets = new HashSet(); + Set illegalTargets = new HashSet<>(); int replacedTargets = 0; for (UUID targetId: targets.keySet()) { Card card = game.getCard(targetId); diff --git a/Mage/src/mage/target/common/TargetCreatureOrPlayerAmount.java b/Mage/src/mage/target/common/TargetCreatureOrPlayerAmount.java index e639224aba..d1a3d47eb4 100644 --- a/Mage/src/mage/target/common/TargetCreatureOrPlayerAmount.java +++ b/Mage/src/mage/target/common/TargetCreatureOrPlayerAmount.java @@ -53,7 +53,12 @@ public class TargetCreatureOrPlayerAmount extends TargetAmount { protected FilterCreatureOrPlayer filter; public TargetCreatureOrPlayerAmount(int amount) { + // 107.1c If a rule or ability instructs a player to choose “any number,” that player may choose + // any positive number or zero, unless something (such as damage or counters) is being divided + // or distributed among “any number” of players and/or objects. In that case, a nonzero number + // of players and/or objects must be chosen if possible. this(new StaticValue(amount)); + this.minNumberOfTargets = 1; } public TargetCreatureOrPlayerAmount(DynamicValue amount) {