Fixed UUID migrations sometimes failing.

This commit is contained in:
Matthew Miller 2018-08-13 20:54:35 +10:00
parent b2e64498a8
commit 7f47e31686

View File

@ -71,9 +71,6 @@ private WorldGuard() {
public void setup() {
executorService = MoreExecutors.listeningDecorator(EvenMoreExecutors.newBoundedCachedThreadPool(0, 1, 20));
getPlatform().load();
Flags.registerAll();
File cacheDir = new File(getPlatform().getConfigDir().toFile(), "cache");
cacheDir.mkdirs();
@ -89,6 +86,9 @@ public void setup() {
BukkitPlayerService.getInstance(),
HttpRepositoryService.forMinecraft()),
profileCache);
getPlatform().load();
Flags.registerAll();
}
/**