mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2026-11-19 23:29:40 +00:00
Always allow console to use LP commands (#2841)
This commit is contained in:
1 file changed
+2
-2
@@ -89,12 +89,12 @@ public final class AbstractSender<T> implements Sender {
|
||||
|
||||
@Override
|
||||
public Tristate getPermissionValue(String permission) {
|
||||
return this.factory.getPermissionValue(this.sender, permission);
|
||||
return isConsole() ? Tristate.TRUE : this.factory.getPermissionValue(this.sender, permission);
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean hasPermission(String permission) {
|
||||
return this.factory.hasPermission(this.sender, permission);
|
||||
return isConsole() || this.factory.hasPermission(this.sender, permission);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user