Reverted this commit that broke a watcher. Fixes #3246

This commit is contained in:
Achilles 2017-04-26 07:59:16 -05:00
parent 86bc78e4b8
commit ba2456188f

View file

@ -64,7 +64,8 @@ public class CardsCycledOrDiscardedThisTurnWatcher extends Watcher {
if (event.getType() == GameEvent.EventType.UNTAP_STEP_PRE) {
reset();
}
if (event.getType() == GameEvent.EventType.DISCARDED_CARD) {
if (event.getType() == GameEvent.EventType.CYCLED_CARD
|| event.getType() == GameEvent.EventType.DISCARDED_CARD) {
UUID playerId = event.getPlayerId();
if (playerId != null
&& game.getCard(event.getTargetId()) != null) {