mirror of
https://github.com/darksaid98/AlathranWars.git
synced 2026-12-03 14:38:56 +00:00
null check for lastRaidTime
This commit is contained in:
1 parent
bfeaf1bd0d
commit
c2595bcd1d
1 file changed
+3
@@ -214,6 +214,9 @@ public class War {
|
|||||||
}
|
}
|
||||||
|
|
||||||
public Long getLastRaidTime() {
|
public Long getLastRaidTime() {
|
||||||
|
if(lastRaidTime == null) {
|
||||||
|
lastRaidTime = 0L;
|
||||||
|
}
|
||||||
return this.lastRaidTime;
|
return this.lastRaidTime;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
Reference in new issue
Block a user