forked from External/mage
Fixed tags cost and MageObjectReference usage (#11500)
* Fix costs tag clearing while permanent still on the battlefield * Improved version of game.getPermanentOrLKIBattlefield with MageObjectReference * Improve documentation
This commit is contained in:
parent
aea49d3c2b
commit
f3e310cfd3
4 changed files with 32 additions and 7 deletions
|
|
@ -172,11 +172,7 @@ public class MageObjectReference implements Comparable<MageObjectReference>, Ser
|
|||
}
|
||||
|
||||
public Permanent getPermanentOrLKIBattlefield(Game game) {
|
||||
Permanent permanent = game.getPermanentOrLKIBattlefield(sourceId);
|
||||
if (permanent != null && permanent.getZoneChangeCounter(game) == zoneChangeCounter) {
|
||||
return permanent;
|
||||
}
|
||||
return null;
|
||||
return game.getPermanentOrLKIBattlefield(this);
|
||||
}
|
||||
|
||||
public Card getCard(Game game) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue