mirror of
https://github.com/correl/mage.git
synced 2024-12-25 19:25:41 +00:00
Couple small changes
This commit is contained in:
parent
237db497b6
commit
79648eb7ea
1 changed files with 1 additions and 2 deletions
|
@ -64,8 +64,7 @@ public class CardsCycledOrDiscardedThisTurnWatcher extends Watcher {
|
|||
if (event.getType() == GameEvent.EventType.UNTAP_STEP_PRE) {
|
||||
reset();
|
||||
}
|
||||
if (event.getType() == GameEvent.EventType.CYCLED_CARD
|
||||
|| event.getType() == GameEvent.EventType.DISCARDED_CARD) {
|
||||
if (event.getType() == GameEvent.EventType.DISCARDED_CARD) {
|
||||
UUID playerId = event.getPlayerId();
|
||||
if (playerId != null
|
||||
&& game.getCard(event.getTargetId()) != null) {
|
||||
|
|
Loading…
Reference in a new issue