Guest User

Untitled

a guest
Jan 12th, 2018
111
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. private static HashMap<Player, List<Block>> Pos1 = new HashMap<Player, List<Block>>();
  2. private static HashMap<Player, List<Block>> Pos2 = new HashMap<Player, List<Block>>();
  3.  
  4.  
  5.  
  6. public void onPlayerInteract(PlayerInteractEvent event) {
  7.  
  8. Player player = event.getPlayer();
  9. ItemStack item = player.getItemInHand();
  10.  
  11. if (event.getAction() == Action.LEFT_CLICK_BLOCK && item.getTypeId() == 271) {
  12. Block block1 = event.getClickedBlock();
  13.  
  14. Pos1.put();
Add Comment
Please, Sign In to add comment