Async GameProfileCache saving
This commit is contained in:
parent
ba4eeb8a28
commit
cda878cf64
3 changed files with 37 additions and 7 deletions
|
@ -719,7 +719,7 @@
|
|||
+ } catch (java.lang.InterruptedException ignored) {} // Paper
|
||||
+ if (org.spigotmc.SpigotConfig.saveUserCacheOnStopOnly) {
|
||||
+ MinecraftServer.LOGGER.info("Saving usercache.json");
|
||||
+ this.getProfileCache().save();
|
||||
+ this.getProfileCache().save(false); // Paper - Perf: Async GameProfileCache saving
|
||||
+ }
|
||||
+ // Spigot end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue