Location loc = ((CraftPlayer) p).getTargetBlock((HashSet<Byte>)null, 100).getLocation();
int x = loc.getBlockX();
int y = loc.getBlockY();
int z = loc.getBlockZ();
Location loc2 = new Location(p.getWorld(), x, y, z);
if (loc2.getBlock().getType() != Material.AIR) {
loc2.setY(y + 1.5D);
}
if (loc.getBlock().getType() == Material.AIR)
{
p.sendMessage("§7Você so pode se teleportar para um bloco!");
return;
}