Advertisement
Guest User

Untitled

a guest
Aug 11th, 2015
270
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.32 KB | None | 0 0
  1. @EventHandler
  2. public void onOpenMenuKit(PlayerInteractEvent e){
  3. Player p = e.getPlayer();
  4. if(e.getItem().getType() == Material.CHEST){
  5. if(GameState.isState(GameState.IN_LOBBY)){
  6. if(e.getAction() == Action.RIGHT_CLICK_AIR || e.getAction() == Action.RIGHT_CLICK_BLOCK){
  7. openKitInv(p);
  8. }
  9. }
  10. }
  11. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement