realized my mistake

This commit is contained in:
YouHaveTrouble
2020-11-02 04:29:26 +01:00
parent f36c4d9061
commit eec5cac5da
@@ -83,6 +83,8 @@ public class MainCommand implements TabExecutor {
} }
if ("add".startsWith(args[0]) && sender.hasPermission("commandwhitelist.admin")) { if ("add".startsWith(args[0]) && sender.hasPermission("commandwhitelist.admin")) {
list.add("add"); list.add("add");
}
if ("remove".startsWith(args[0]) && sender.hasPermission("commandwhitelist.admin")) {
list.add("remove"); list.add("remove");
} }
} else if (args.length == 2) { } else if (args.length == 2) {