fix TargetChoices

This commit is contained in:
Hans Mackowiak
2020-11-10 17:48:32 +01:00
parent 7b18fc4474
commit ece0887135

View File

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