Skip to content

Commit

Permalink
fix: auto import of old data causing plugin to not load (#505)
Browse files Browse the repository at this point in the history
  • Loading branch information
sekwah41 authored Dec 31, 2024
1 parent 09f4bcd commit c15a33e
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -81,15 +81,14 @@ 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();

this.portalsCore.registerPortalCommand("import",
new ImportPortalSubCommand());

checkAndCreateConfig();
registerPlaceholderAPI();
}

Expand Down

0 comments on commit c15a33e

Please sign in to comment.