daily pastebin goal
27%
SHARE
TWEET

Untitled

a guest Jan 12th, 2018 51 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  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();
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top