mirror of
https://github.com/YouHaveTrouble/CommandWhitelist.git
synced 2026-05-12 06:26:57 +00:00
realized my mistake
This commit is contained in:
@@ -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) {
|
||||||
|
|||||||
Reference in New Issue
Block a user