mirror of
https://github.com/correl/mage.git
synced 2024-12-26 19:16:54 +00:00
Fixed NPE error on some tournaments finish;
This commit is contained in:
parent
96cbaa1e99
commit
503f383963
1 changed files with 2 additions and 2 deletions
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue