forked from External/mage
Minor formattings.
This commit is contained in:
parent
d4b9f1d4c9
commit
b8e7604ca7
3 changed files with 22 additions and 23 deletions
|
|
@ -25,8 +25,9 @@ public class CountersCount implements DynamicValue {
|
|||
// if permanent already leaves the battlefield, try to find counters count via last known information
|
||||
if (p == null) {
|
||||
MageObject o = game.getLastKnownInformation(sourceAbility.getSourceId(), Zone.BATTLEFIELD);
|
||||
if (o instanceof Permanent)
|
||||
if (o instanceof Permanent) {
|
||||
p = (Permanent) o;
|
||||
}
|
||||
}
|
||||
if (p != null) {
|
||||
return p.getCounters().getCount(counter);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue