Skip to content

Commit

Permalink
Unify the limit permission (#2420)
Browse files Browse the repository at this point in the history
  • Loading branch information
RedstoneFuture authored Dec 7, 2023
1 parent d5c8b08 commit ea6138c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion worldedit-bukkit/src/main/resources/plugin.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ permissions:
default: op
children:
fawe.bypass.regions: true
fawe.limit.*: true
fawe.limit.unlimited: true
fawe.tips:
default: op
fawe.admin:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ public void reload(File file) {

public FaweLimit getLimit(Actor actor) {
FaweLimit limit;
if (actor.hasPermission("fawe.bypass") || actor.hasPermission("fawe.limit.unlimited")) {
if (actor.hasPermission("fawe.limit.unlimited")) {
return FaweLimit.MAX.copy();
}
limit = new FaweLimit();
Expand Down

0 comments on commit ea6138c

Please sign in to comment.