mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
Merge branch 'master' of https://github.com/magefree/mage
This commit is contained in:
commit
9a0714e694
1 changed files with 1 additions and 1 deletions
|
@ -81,7 +81,7 @@ class BoseijuWhoSheltersAllWatcher extends Watcher {
|
||||||
public void watch(GameEvent event, Game game) {
|
public void watch(GameEvent event, Game game) {
|
||||||
if (event.getType() == GameEvent.EventType.MANA_PAID) {
|
if (event.getType() == GameEvent.EventType.MANA_PAID) {
|
||||||
if (event.getData() != null && event.getData().equals(originalId)) {
|
if (event.getData() != null && event.getData().equals(originalId)) {
|
||||||
Card spell = game.getCard(event.getTargetId());
|
Card spell = game.getSpell(event.getTargetId());
|
||||||
if (spell != null && (spell.isInstant() || spell.isSorcery())) {
|
if (spell != null && (spell.isInstant() || spell.isSorcery())) {
|
||||||
spells.add(event.getTargetId());
|
spells.add(event.getTargetId());
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue