Skip to content

Commit

Permalink
fix: auto import of old data causing plugin to not load
Browse files Browse the repository at this point in the history
  • Loading branch information
sekwah41 committed Dec 31, 2024
1 parent 750fcf0 commit 0d2cacb
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,14 +80,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();
}

private void checkAndCreateConfig() {
Expand Down

0 comments on commit 0d2cacb

Please sign in to comment.