From 7f47e3168613eb94178881e0fb68030febdb8ce2 Mon Sep 17 00:00:00 2001 From: Matthew Miller Date: Mon, 13 Aug 2018 20:54:35 +1000 Subject: [PATCH] Fixed UUID migrations sometimes failing. --- .../src/main/java/com/sk89q/worldguard/WorldGuard.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/worldguard-core/src/main/java/com/sk89q/worldguard/WorldGuard.java b/worldguard-core/src/main/java/com/sk89q/worldguard/WorldGuard.java index a7202fbf..902fa266 100644 --- a/worldguard-core/src/main/java/com/sk89q/worldguard/WorldGuard.java +++ b/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(); } /**