mirror of
https://github.com/BentoBoxWorld/Challenges.git
synced 2024-11-24 11:36:53 +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));
|
this.registerListener(new SaveListener(this));
|
||||||
|
|
||||||
// Register Flags
|
// Register Flags
|
||||||
this.getPlugin().getFlagsManager().registerFlag(CHALLENGES_ISLAND_PROTECTION);
|
this.registerFlag(CHALLENGES_ISLAND_PROTECTION);
|
||||||
this.getPlugin().getFlagsManager().registerFlag(CHALLENGES_WORLD_PROTECTION);
|
this.registerFlag(CHALLENGES_WORLD_PROTECTION);
|
||||||
|
|
||||||
// Register Request Handlers
|
// Register Request Handlers
|
||||||
this.registerRequestHandler(new ChallengeListRequestHandler(this));
|
this.registerRequestHandler(new ChallengeListRequestHandler(this));
|
||||||
|
Loading…
Reference in New Issue
Block a user