[CMR] added tokens support, added tokens download

This commit is contained in:
Oleg Agafonov 2020-12-19 21:42:12 +04:00
parent 92f9bc0c65
commit 9dd09c970a
34 changed files with 281 additions and 168 deletions

View file

@ -28,7 +28,9 @@ public class PermanentToken extends PermanentImpl {
// token's ZCC must be synced with original token to keep abilities settings
// Example: kicker ability and kicked status
this.setZoneChangeCounter(this.token.getZoneChangeCounter(game), game);
if (game != null) { // game == null in GUI for card viewer's tokens
this.setZoneChangeCounter(this.token.getZoneChangeCounter(game), game);
}
}
public PermanentToken(final PermanentToken permanent) {