mirror of
https://github.com/Melledy/Nebula.git
synced 2026-11-04 21:36:51 +01:00
Improve how the data version is handled
This commit is contained in:
1 parent
7c58d22771
commit
dc293cd7ea
6 files changed
+21
-11
No files matched your search
@@ -63,7 +63,7 @@ public class HttpServer {
|
||||
// Patch list
|
||||
|
||||
public long getDataVersion() {
|
||||
return getPatchlist() != null ? getPatchlist().getVersion() : GameConstants.DATA_VERSION;
|
||||
return getPatchlist() != null ? getPatchlist().getVersion() : GameConstants.getDataVersion();
|
||||
}
|
||||
|
||||
public synchronized void loadPatchList() {
|
||||
@@ -89,7 +89,7 @@ public class HttpServer {
|
||||
}
|
||||
|
||||
if (this.patchlist != null) {
|
||||
Nebula.getLogger().info("Loaded patchlist version " + patchlist.getVersion());
|
||||
Nebula.getLogger().info("Loaded patchlist (Data version: " + patchlist.getVersion() + ")");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user