Merge origin/master

This commit is contained in:
LevelX2 2018-01-13 12:56:37 +01:00
commit 2fe0aeff78

View file

@ -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";