Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
- Player player = (Player) sender;
- if (cmd.getName().equalsIgnoreCase("adminmenu")) {
- if (!player.hasPermission("lore.adminGUI")) {
- if (args.length == 0) {
- openMainGUI(player);
- }
- }
- }
- if(cmd.getName().equalsIgnoreCase("loreinfo")) {
- if (args.length == 0) {
- openLoreMenu(player);
- }
- }
- return false;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement