Skip to content

Commit

Permalink
Fixed UUID migrations sometimes failing.
Browse files Browse the repository at this point in the history
  • Loading branch information
me4502 committed Aug 13, 2018
1 parent b2e6449 commit 7f47e31
Showing 1 changed file with 3 additions and 3 deletions.
Expand Up @@ -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();

Expand All @@ -89,6 +86,9 @@ public void setup() {
BukkitPlayerService.getInstance(),
HttpRepositoryService.forMinecraft()),
profileCache);

getPlatform().load();
Flags.registerAll();
}

/**
Expand Down

0 comments on commit 7f47e31

Please sign in to comment.