This commit is contained in:
Evan Kranzler 2018-07-14 18:05:17 -04:00
commit 9a0714e694

View file

@ -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());
} }