mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 19:58:00 +00:00
fix TargetChoices
This commit is contained in:
@@ -54,7 +54,7 @@ public class TargetChoices extends ForwardingList<GameObject> implements Cloneab
|
|||||||
|
|
||||||
public final boolean add(final GameObject o) {
|
public final boolean add(final GameObject o) {
|
||||||
if (o instanceof Player || o instanceof Card || o instanceof SpellAbility) {
|
if (o instanceof Player || o instanceof Card || o instanceof SpellAbility) {
|
||||||
super.add(o);
|
return super.add(o);
|
||||||
}
|
}
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user