card on stack cannot target itself

master
melvin 2013-01-08 10:00:17 +08:00
parent 3e5d1b3908
commit 848093cf2b
1 changed files with 1 additions and 1 deletions

View File

@ -160,7 +160,7 @@ public abstract class MagicItemOnStack implements MagicTarget {
@Override
public boolean isValidTarget(final MagicSource aSource) {
return aSource!=this.source;
return aSource != this.source && aSource != this;
}
@Override