mirror of
https://github.com/IntellectualSites/PlotSquared.git
synced 2024-11-22 05:06:44 +01:00
Always initialize PermissionHandler (fixes #3019)
This commit is contained in:
parent
e97bc25fb8
commit
94ba90d694
@ -353,10 +353,12 @@ public final class BukkitPlatform extends JavaPlugin implements Listener, PlotPl
|
|||||||
this.registerCommands();
|
this.registerCommands();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// Permissions
|
||||||
|
this.permissionHandler().initialize();
|
||||||
|
|
||||||
// Economy
|
// Economy
|
||||||
if (Settings.Enabled_Components.ECONOMY) {
|
if (Settings.Enabled_Components.ECONOMY) {
|
||||||
TaskManager.runTaskAsync(() -> {
|
TaskManager.runTaskAsync(() -> {
|
||||||
this.permissionHandler().initialize();
|
|
||||||
final EconHandler econHandler = injector().getInstance(EconHandler.class);
|
final EconHandler econHandler = injector().getInstance(EconHandler.class);
|
||||||
econHandler.init();
|
econHandler.init();
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user