Fixed NPE error on some tournaments finish;

This commit is contained in:
Oleg Agafonov 2019-01-08 09:26:14 +04:00
parent 96cbaa1e99
commit 503f383963

View file

@ -298,8 +298,8 @@ public class Table implements Serializable {
.setGameType(this.getGameType()) .setGameType(this.getGameType())
.setDeckType(this.getDeckType()) .setDeckType(this.getDeckType())
.setControllerName(this.getControllerName()) .setControllerName(this.getControllerName())
.setStartTimeMs(this.getStartTime().getTime()) .setStartTimeMs(this.getStartTime() != null ? this.getStartTime().getTime() : 0L)
.setEndTimeMs(this.getEndTime().getTime()) .setEndTimeMs(this.getEndTime() != null ? this.getEndTime().getTime() : 0L)
.build(); .build();
} }
} }