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().getType() == Material.CHEST){
- if(GameState.isState(GameState.IN_LOBBY)){
- if(e.getAction() == Action.RIGHT_CLICK_AIR || e.getAction() == Action.RIGHT_CLICK_BLOCK){
- openKitInv(p);
- }
- }
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement