mirror of
https://github.com/BentoBoxWorld/Challenges.git
synced 2024-11-28 05:25:21 +01:00
Update flag Registering to newest addon API.
This commit is contained in:
parent
071c6ca83a
commit
526fe9ce81
@ -209,8 +209,8 @@ public class ChallengesAddon extends Addon {
|
||||
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));
|
||||
|
Loading…
Reference in New Issue
Block a user