diff --git a/spigot/src/main/java/com/sekwah/advancedportals/spigot/AdvancedPortalsPlugin.java b/spigot/src/main/java/com/sekwah/advancedportals/spigot/AdvancedPortalsPlugin.java index f901e558..1bbc77a9 100644 --- a/spigot/src/main/java/com/sekwah/advancedportals/spigot/AdvancedPortalsPlugin.java +++ b/spigot/src/main/java/com/sekwah/advancedportals/spigot/AdvancedPortalsPlugin.java @@ -81,8 +81,6 @@ public void onEnable() { injector.injectMembers(warpEffects); warpEffects.registerEffects(); - checkAndCreateConfig(); - // Try to do this after setting up everything that would need to be // injected to. this.portalsCore.onEnable(); @@ -90,6 +88,7 @@ public void onEnable() { this.portalsCore.registerPortalCommand("import", new ImportPortalSubCommand()); + checkAndCreateConfig(); registerPlaceholderAPI(); }