Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-11-04 18:40:06 +01:00
Unify the limit permission (#2420)
Dieser Commit ist enthalten in:
Ursprung
d5c8b08fe9
Commit
ea6138ce1f
@ -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:
|
||||
|
@ -102,7 +102,7 @@ public class Settings extends Config {
|
||||
|
||||
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();
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren