Fixed a problem with the permission. If Permission.Necessary was set to false a permission was still needed, this was fixed.
This commit is contained in:
2022-01-29 05:15:43 +01:00
parent 338a56a3ad
commit 1fe90fb5a7
5 changed files with 5 additions and 5 deletions

View File

@@ -17,7 +17,7 @@ public class RegisterCommands extends Command {
private final String prefix = Main.prefix;
public RegisterCommands(String alias) {
super(alias, "t2code.alias.use." + alias.toLowerCase());
super(alias);
this.alias = alias;
}