Advertisement
DSHunterMC

Untitled

Nov 25th, 2017
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. public Inventory agui;
  2.  
  3. @Override
  4. public boolean onCommand(CommandSender sender, Command cmd, String label, String[] args) {
  5. Player p = (Player) sender;
  6. if(cmd.getName().equalsIgnoreCase("AguiGui")) {
  7. if(p.hasPermission("hhf.agui.gui")) {
  8. p.openInventory(agui);
  9. }
  10. }
  11.  
  12.  
  13. return true;
  14. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement