forked from External/mage
Refactoring
We don't need to override basic methods to just call the basic method again.
This commit is contained in:
parent
b626bf6866
commit
a9f2c8c407
6 changed files with 4 additions and 25 deletions
|
|
@ -132,6 +132,6 @@ public class TargetSpell extends TargetObject {
|
|||
private boolean canBeChosen(StackObject stackObject, UUID sourceID, UUID sourceControllerId, Game game) {
|
||||
return stackObject instanceof Spell
|
||||
&& game.getState().getPlayersInRange(sourceControllerId, game).contains(stackObject.getControllerId())
|
||||
&& filter.match((Spell) stackObject, sourceID, sourceControllerId, game);
|
||||
&& filter.match(stackObject, sourceID, sourceControllerId, game);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue