Async GameProfileCache saving
This commit is contained in:
parent
ba4eeb8a28
commit
cda878cf64
3 changed files with 37 additions and 7 deletions
|
@ -170,7 +170,7 @@
|
|||
DedicatedServer.LOGGER.info("Default game type: {}", dedicatedserverproperties.gamemode);
|
||||
InetAddress inetaddress = null;
|
||||
|
||||
@@ -156,10 +246,23 @@
|
||||
@@ -156,21 +246,34 @@
|
||||
return false;
|
||||
}
|
||||
|
||||
|
@ -195,7 +195,11 @@
|
|||
DedicatedServer.LOGGER.warn("To change this, set \"online-mode\" to \"true\" in the server.properties file.");
|
||||
}
|
||||
|
||||
@@ -170,7 +273,7 @@
|
||||
if (this.convertOldUsers()) {
|
||||
- this.getProfileCache().save();
|
||||
+ this.getProfileCache().save(false); // Paper - Perf: Async GameProfileCache saving
|
||||
}
|
||||
|
||||
if (!OldUsersConverter.serverReadyAfterUserconversion(this)) {
|
||||
return false;
|
||||
} else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue