Mirror von
https://github.com/PaperMC/Velocity.git
synchronisiert 2024-11-16 21:10:30 +01:00
Obey Checkstyle rules
Dieser Commit ist enthalten in:
Ursprung
3a1517f3a4
Commit
ba4ba2022e
@ -50,10 +50,12 @@ public interface CommandSource extends Audience, PermissionSubject, PermissionCh
|
||||
@Override
|
||||
default @NotNull TriState value(String permission) {
|
||||
Tristate state = getPermissionValue(permission);
|
||||
if (state == Tristate.TRUE)
|
||||
if (state == Tristate.TRUE) {
|
||||
return TriState.TRUE;
|
||||
if (state == Tristate.UNDEFINED)
|
||||
}
|
||||
if (state == Tristate.UNDEFINED) {
|
||||
return TriState.NOT_SET;
|
||||
}
|
||||
return TriState.FALSE;
|
||||
}
|
||||
}
|
||||
|
Laden…
In neuem Issue referenzieren
Einen Benutzer sperren