mirror of
https://github.com/correl/mage.git
synced 2024-12-25 03:00:15 +00:00
[NEO] Fix Iron Apprentice regression
This commit is contained in:
parent
c72191f1f9
commit
231c6c1eeb
2 changed files with 2 additions and 2 deletions
|
@ -73,7 +73,7 @@ class IronApprenticeEffect extends OneShotEffect {
|
|||
|
||||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
Permanent permanent = source.getSourcePermanentOrLKI(game);
|
||||
Permanent permanent = (Permanent) getValue("permanentLeftBattlefield");
|
||||
Permanent creature = game.getPermanent(source.getFirstTarget());
|
||||
if (permanent == null || creature == null) {
|
||||
return false;
|
||||
|
|
|
@ -11,7 +11,7 @@ public enum SourceHasCountersCondition implements Condition {
|
|||
|
||||
@Override
|
||||
public boolean apply(Game game, Ability source) {
|
||||
Permanent permanent = game.getPermanent(source.getSourceId());
|
||||
Permanent permanent = source.getSourcePermanentOrLKI(game);
|
||||
if (permanent == null) {
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue