Renamed method for clarity

This commit is contained in:
Salmonllama 2020-11-25 11:18:43 -05:00
parent d9c9197dbb
commit a570400b66
2 changed files with 2 additions and 2 deletions

View File

@ -146,7 +146,7 @@ public class Guthix implements MessageCreateListener {
cmdArgs
).build();
if (manager.hasPermission(cmd.permission(), ctx)) {
if (manager.userHasPermission(cmd.permission(), ctx)) {
} else {
return;

View File

@ -17,7 +17,7 @@ public class PermissionManager {
public PermissionManager() {
}
public boolean hasPermission(CommandPermission reqPerm, CommandContext ctx) {
public boolean userHasPermission(CommandPermission reqPerm, CommandContext ctx) {
PermissionType permType = reqPerm.getType();
String permValue = reqPerm.getValue();