Permalink
Browse files

Fixed UUID migrations sometimes failing.

  • Loading branch information...
me4502 committed Aug 13, 2018
1 parent b2e6449 commit 7f47e3168613eb94178881e0fb68030febdb8ce2
Showing with 3 additions and 3 deletions.
  1. +3 −3 worldguard-core/src/main/java/com/sk89q/worldguard/WorldGuard.java
@@ -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();
}
/**

0 comments on commit 7f47e31

Please sign in to comment.