mirror of
https://github.com/magefree/mage.git
synced 2026-01-10 04:42:07 -08:00
Fix. +2 tests passed.
This commit is contained in:
parent
a922310078
commit
29b7f9ab9b
6 changed files with 48 additions and 19 deletions
|
|
@ -28,9 +28,6 @@
|
|||
|
||||
package mage.target.common;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
import java.util.UUID;
|
||||
import mage.Constants.Zone;
|
||||
import mage.MageObject;
|
||||
import mage.abilities.Ability;
|
||||
|
|
@ -42,6 +39,10 @@ import mage.game.permanent.Permanent;
|
|||
import mage.players.Player;
|
||||
import mage.target.TargetImpl;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
import java.util.UUID;
|
||||
|
||||
/**
|
||||
*
|
||||
* @author BetaSteward_at_googlemail.com
|
||||
|
|
@ -50,6 +51,11 @@ public class TargetCreatureOrPlayer extends TargetImpl<TargetCreatureOrPlayer> {
|
|||
|
||||
protected FilterCreatureOrPlayer filter;
|
||||
|
||||
public TargetCreatureOrPlayer(boolean required) {
|
||||
this();
|
||||
setRequired(required);
|
||||
}
|
||||
|
||||
public TargetCreatureOrPlayer() {
|
||||
this(1, 1);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue