Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- private static HashMap<Player, List<Block>> Pos1 = new HashMap<Player, List<Block>>();
- private static HashMap<Player, List<Block>> Pos2 = new HashMap<Player, List<Block>>();
- public void onPlayerInteract(PlayerInteractEvent event) {
- Player player = event.getPlayer();
- ItemStack item = player.getItemInHand();
- if (event.getAction() == Action.LEFT_CLICK_BLOCK && item.getTypeId() == 271) {
- Block block1 = event.getClickedBlock();
- Pos1.put();
Add Comment
Please, Sign In to add comment