mirror of
https://github.com/magefree/mage.git
synced 2025-12-26 05:22:02 -08:00
Mana spent to cast - fixed commanders support;
This commit is contained in:
parent
b10079d090
commit
dc0427acd1
1 changed files with 3 additions and 3 deletions
|
|
@ -46,9 +46,9 @@ public class ManaSpentToCastWatcher extends Watcher {
|
|||
return;
|
||||
case ZONE_CHANGE:
|
||||
if (((ZoneChangeEvent) event).getFromZone() == Zone.BATTLEFIELD) {
|
||||
manaMap.remove(event.getSourceId());
|
||||
xValueMap.remove(event.getSourceId());
|
||||
xValueMapLong.remove(event.getSourceId());
|
||||
manaMap.remove(event.getTargetId());
|
||||
xValueMap.remove(event.getTargetId());
|
||||
xValueMapLong.remove(event.getTargetId());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue