Skip to content

Commit

Permalink
Update flag Registering to newest addon API.
Browse files Browse the repository at this point in the history
  • Loading branch information
BONNe committed Jun 16, 2019
1 parent 071c6ca commit 526fe9c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/world/bentobox/challenges/ChallengesAddon.java
Original file line number Diff line number Diff line change
Expand Up @@ -209,8 +209,8 @@ public void onEnable() {
this.registerListener(new SaveListener(this));

// Register Flags
this.getPlugin().getFlagsManager().registerFlag(CHALLENGES_ISLAND_PROTECTION);
this.getPlugin().getFlagsManager().registerFlag(CHALLENGES_WORLD_PROTECTION);
this.registerFlag(CHALLENGES_ISLAND_PROTECTION);
this.registerFlag(CHALLENGES_WORLD_PROTECTION);

// Register Request Handlers
this.registerRequestHandler(new ChallengeListRequestHandler(this));
Expand Down

0 comments on commit 526fe9c

Please sign in to comment.