mirror of
https://github.com/correl/mage.git
synced 2025-01-12 19:25:44 +00:00
* Vorinclex, Voice of Hunger - FIxed a bug that id did not work correctly with some conditional land mana sources (e.g. Gemstone Caverns).
This commit is contained in:
parent
6ffa1dc146
commit
2d13deff3a
1 changed files with 1 additions and 3 deletions
|
@ -96,6 +96,7 @@ public class ConditionalManaEffect extends ManaEffect {
|
||||||
}
|
}
|
||||||
|
|
||||||
if (mana != null) {
|
if (mana != null) {
|
||||||
|
checkToFirePossibleEvents(mana, game, source);
|
||||||
controller.getManaPool().addMana(mana, game, source);
|
controller.getManaPool().addMana(mana, game, source);
|
||||||
}
|
}
|
||||||
return true;
|
return true;
|
||||||
|
@ -114,9 +115,6 @@ public class ConditionalManaEffect extends ManaEffect {
|
||||||
} else if (otherwiseEffect != null) {
|
} else if (otherwiseEffect != null) {
|
||||||
mana = otherwiseEffect.getMana();
|
mana = otherwiseEffect.getMana();
|
||||||
}
|
}
|
||||||
if (mana != null) {
|
|
||||||
checkToFirePossibleEvents(mana, game, source);
|
|
||||||
}
|
|
||||||
return mana;
|
return mana;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue