Skip to content

Commit

Permalink
Fixes an issue when users were not able to change generator access pe…
Browse files Browse the repository at this point in the history
…rmission.
  • Loading branch information
BONNe committed Jul 15, 2020
1 parent a02a95a commit 73cad41
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -535,6 +535,6 @@ public static StoneGeneratorAddon getInstance()
new Flag.Builder("MAGIC_COBBLESTONE_GENERATOR_PERMISSION", Material.DIAMOND_PICKAXE).
type(Flag.Type.PROTECTION).
defaultRank(RanksManager.SUB_OWNER_RANK).
clickHandler(new CycleClick("MCG_PERMISSIONS", RanksManager.MEMBER_RANK, RanksManager.OWNER_RANK)).
clickHandler(new CycleClick("MAGIC_COBBLESTONE_GENERATOR_PERMISSION", RanksManager.MEMBER_RANK, RanksManager.OWNER_RANK)).
build();
}

0 comments on commit 73cad41

Please sign in to comment.