diff --git a/api/src/main/java/com/velocitypowered/api/command/CommandSource.java b/api/src/main/java/com/velocitypowered/api/command/CommandSource.java index 75ad2ddd2..2f465fda7 100644 --- a/api/src/main/java/com/velocitypowered/api/command/CommandSource.java +++ b/api/src/main/java/com/velocitypowered/api/command/CommandSource.java @@ -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; } }