mirror of
https://github.com/correl/mage.git
synced 2024-12-26 03:00:11 +00:00
Fixed possible npe of tabel.
This commit is contained in:
parent
dc3d6e7aa5
commit
97eae36ddf
1 changed files with 4 additions and 1 deletions
|
@ -155,7 +155,10 @@ public class Table implements Serializable {
|
|||
}
|
||||
|
||||
public String getDeckType() {
|
||||
return validator.getName();
|
||||
if (validator != null) {
|
||||
return validator.getName();
|
||||
}
|
||||
return "<deckt type missing>";
|
||||
}
|
||||
|
||||
public Date getCreateTime() {
|
||||
|
|
Loading…
Reference in a new issue