Couple small changes

This commit is contained in:
Mark Langen 2017-04-16 16:54:39 -06:00
parent 237db497b6
commit 79648eb7ea

View file

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