Skip to content

Commit

Permalink
Move instance assignment to onLoad (#13)
Browse files Browse the repository at this point in the history
  • Loading branch information
TrollyLoki authored Feb 2, 2024
1 parent 1dd41a1 commit cc8843b
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@ public static MovecraftWorldGuard getInstance() {

@Override
public void onLoad() {
instance = this;

CustomFlags.register();
}

@Override
public void onEnable() {
instance = this;

saveDefaultConfig();

// TODO other languages
Expand Down

0 comments on commit cc8843b

Please sign in to comment.