Mirror von
https://github.com/IntellectualSites/FastAsyncWorldEdit.git
synchronisiert 2024-12-25 18:40:05 +01:00
Fix sponge perms too.
Untested tho cuz 1.13 lol
Dieser Commit ist enthalten in:
Ursprung
1e7c074217
Commit
a3ca670a32
@ -44,12 +44,12 @@ public abstract class CommandAdapter implements CommandCallable {
|
||||
.map(PermissionCondition::getPermissions)
|
||||
.orElseGet(Collections::emptySet);
|
||||
for (String perm : permissions) {
|
||||
if (!source.hasPermission(perm)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (source.hasPermission(perm)) {
|
||||
return true;
|
||||
}
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
@Override
|
||||
public Optional<Text> getShortDescription(CommandSource source) {
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren