fix Boseiju

This commit is contained in:
igoudt 2018-07-14 23:51:05 +02:00
parent c743906557
commit 67d25f80b6

View file

@ -81,7 +81,7 @@ class BoseijuWhoSheltersAllWatcher extends Watcher {
public void watch(GameEvent event, Game game) {
if (event.getType() == GameEvent.EventType.MANA_PAID) {
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())) {
spells.add(event.getTargetId());
}