mirror of
https://github.com/correl/mage.git
synced 2025-04-03 17:00:16 -09:00
Little fix on filter
This commit is contained in:
parent
393f8dc9f4
commit
9a0b48e9b7
1 changed files with 1 additions and 1 deletions
|
@ -59,7 +59,7 @@ public class TargetDiscard extends TargetCard {
|
|||
}
|
||||
|
||||
public TargetDiscard(int minNumTargets, int maxNumTargets, FilterCard filter, UUID playerId) {
|
||||
super(minNumTargets, maxNumTargets, Zone.HAND, filter);
|
||||
super(minNumTargets, maxNumTargets, Zone.HAND, filter.copy());
|
||||
this.filter.add(new OwnerIdPredicate(playerId));
|
||||
this.playerId = playerId;
|
||||
this.targetName = this.filter.getMessage() + " to discard";
|
||||
|
|
Loading…
Add table
Reference in a new issue