Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- @EventHandler
- public void onOpenMenuKit(PlayerInteractEvent e){
- Player p = e.getPlayer();
- if(e.getItem() != null
- && e.getItem().getType() == Material.CHEST
- && GameState.isState(GameState.IN_LOBBY)
- && (e.getAction() == Action.RIGHT_CLICK_AIR || e.getAction() == Action.RIGHT_CLICK_BLOCK))
- openKitInv(p);
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement