forked from External/mage
Fixed compile error on getFixedTarget and failed test on new lower names
This commit is contained in:
parent
a2b6f83a3e
commit
5b0e71021d
5 changed files with 18 additions and 20 deletions
|
|
@ -87,4 +87,13 @@ public class FixedTargets implements TargetPointer {
|
|||
return new FixedTargets(this);
|
||||
}
|
||||
|
||||
@Override
|
||||
public FixedTarget getFixedTarget(Game game, Ability source) {
|
||||
this.init(game, source);
|
||||
UUID firstId = getFirst(game, source);
|
||||
if (firstId != null) {
|
||||
return new FixedTarget(firstId, game.getState().getZoneChangeCounter(firstId));
|
||||
}
|
||||
return null;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue