From 94ba90d694e0223ad8d1e96d7eb844557838fdb3 Mon Sep 17 00:00:00 2001 From: SirYwell Date: Tue, 18 May 2021 21:17:47 +0200 Subject: [PATCH] Always initialize PermissionHandler (fixes #3019) --- .../src/main/java/com/plotsquared/bukkit/BukkitPlatform.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Bukkit/src/main/java/com/plotsquared/bukkit/BukkitPlatform.java b/Bukkit/src/main/java/com/plotsquared/bukkit/BukkitPlatform.java index d2f17c464..4d014c736 100644 --- a/Bukkit/src/main/java/com/plotsquared/bukkit/BukkitPlatform.java +++ b/Bukkit/src/main/java/com/plotsquared/bukkit/BukkitPlatform.java @@ -353,10 +353,12 @@ public final class BukkitPlatform extends JavaPlugin implements Listener, PlotPl this.registerCommands(); } + // Permissions + this.permissionHandler().initialize(); + // Economy if (Settings.Enabled_Components.ECONOMY) { TaskManager.runTaskAsync(() -> { - this.permissionHandler().initialize(); final EconHandler econHandler = injector().getInstance(EconHandler.class); econHandler.init(); });