mirror of
https://github.com/magefree/mage.git
synced 2025-12-25 13:02:06 -08:00
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;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -80,6 +80,5 @@ public class SecondTargetPointer implements TargetPointer {
|
|||
return new FixedTarget(firstId, game.getState().getZoneChangeCounter(firstId));
|
||||
}
|
||||
return null;
|
||||
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue