add block map properly

This commit is contained in:
Sen 2025-06-19 18:28:10 +02:00
parent 64cff6a171
commit dd3ac39530
Signed by: sen
GPG key ID: 3AC50A6F47D1B722
4 changed files with 98 additions and 106 deletions

View file

@ -215,8 +215,6 @@ public final class Server implements IThreadListener, Executor {
}
private long loadServerConfig() {
Region.loadMaps();
File file = new File("server.cdt");
if(!file.exists())
file = new File("server.cdt.tmp");
@ -406,6 +404,7 @@ public final class Server implements IThreadListener, Executor {
}
public void run(long time) {
Region.loadMap();
Converter.convert(this);
long wtime = this.loadServerConfig();
if(this.keyPair == null) {