Program: 57932
Project: 57932
Buggy source:
@EventHandler(priority=EventPriority.HIGHEST,ignoreCancelled=true) public void playerMove(PlayerMoveEvent event){
  org.bukkit.Location from=event.getFrom();
  org.bukkit.Location to=event.getTo();
  int x2;
  if (MathMan.roundInt(from.getX()) != (x2=MathMan.roundInt(to.getX()))) {
    Player player=event.getPlayer();
    PlotPlayer pp=BukkitUtil.getPlayer(player);
    TaskManager.TELEPORT_QUEUE.remove(pp.getName());
    Location loc=BukkitUtil.getLocation(to);
    pp.setMeta("String_Node_Str",loc);
    PlotArea area=loc.getPlotArea();
    if (area == null) {
      pp.deleteMeta("String_Node_Str");
      return;
    }
    Plot now=area.getPlot(loc);
    Plot lastPlot=pp.getMeta("String_Node_Str");
    if (now == null) {
      if (lastPlot != null && !plotExit(pp,lastPlot)) {
        MainUtil.sendMessage(pp,C.NO_PERMISSION_EVENT,C.PERMISSION_ADMIN_EXIT_DENIED);
        if (lastPlot.equals(BukkitUtil.getLocation(from).getPlot())) {
          player.teleport(from);
        }
 else {
          player.teleport(player.getWorld().getSpawnLocation());
        }
        event.setCancelled(true);
        return;
      }
    }
 else     if (now.equals(lastPlot)) {
      return;
    }
 else     if (!plotEntry(pp,now)) {
      MainUtil.sendMessage(pp,C.NO_PERMISSION_EVENT,C.PERMISSION_ADMIN_ENTRY_DENIED);
      player.teleport(from);
      event.setCancelled(true);
      return;
    }
    Integer border=area.getBorder();
    if (x2 > border) {
      to.setX(border - 4);
      player.teleport(event.getTo());
      MainUtil.sendMessage(pp,C.BORDER);
      return;
    }
 else     if (x2 < -border) {
      to.setX(-border + 4);
      player.teleport(event.getTo());
      MainUtil.sendMessage(pp,C.BORDER);
      return;
    }
    return;
  }
  int z2;
  if (MathMan.roundInt(from.getZ()) != (z2=MathMan.roundInt(to.getZ()))) {
    Player player=event.getPlayer();
    PlotPlayer pp=BukkitUtil.getPlayer(player);
    TaskManager.TELEPORT_QUEUE.remove(pp.getName());
    Location loc=BukkitUtil.getLocation(to);
    pp.setMeta("String_Node_Str",loc);
    PlotArea area=loc.getPlotArea();
    if (area == null) {
      pp.deleteMeta("String_Node_Str");
      return;
    }
    Plot now=area.getPlot(loc);
    Plot lastPlot=pp.getMeta("String_Node_Str");
    if (now == null) {
      if (lastPlot != null && !plotExit(pp,lastPlot)) {
        MainUtil.sendMessage(pp,C.NO_PERMISSION_EVENT,C.PERMISSION_ADMIN_EXIT_DENIED);
        if (lastPlot.equals(BukkitUtil.getLocation(from).getPlot())) {
          player.teleport(from);
        }
 else {
          player.teleport(player.getWorld().getSpawnLocation());
        }
        event.setCancelled(true);
        return;
      }
    }
 else     if (now.equals(lastPlot)) {
      return;
    }
 else     if (!plotEntry(pp,now)) {
      MainUtil.sendMessage(pp,C.NO_PERMISSION_EVENT,C.PERMISSION_ADMIN_ENTRY_DENIED);
      player.teleport(from);
      event.setCancelled(true);
      return;
    }
    Integer border=area.getBorder();
    if (z2 > border) {
      to.setZ(border - 4);
      player.teleport(event.getTo());
      MainUtil.sendMessage(pp,C.BORDER);
    }
 else     if (z2 < -border) {
      to.setZ(-border + 4);
      player.teleport(event.getTo());
      MainUtil.sendMessage(pp,C.BORDER);
    }
  }
}

Fixed version (ground truth):
@EventHandler(priority=EventPriority.HIGHEST,ignoreCancelled=true) public void playerMove(PlayerMoveEvent event){
  org.bukkit.Location from=event.getFrom();
  org.bukkit.Location to=event.getTo();
  int x2;
  if (MathMan.roundInt(from.getX()) != (x2=MathMan.roundInt(to.getX()))) {
    Player player=event.getPlayer();
    PlotPlayer pp=BukkitUtil.getPlayer(player);
    TaskManager.TELEPORT_QUEUE.remove(pp.getName());
    Location loc=BukkitUtil.getLocation(to);
    pp.setMeta("String_Node_Str",loc);
    PlotArea area=loc.getPlotArea();
    if (area == null) {
      pp.deleteMeta("String_Node_Str");
      return;
    }
    Plot now=area.getPlot(loc);
    Plot lastPlot=pp.getMeta("String_Node_Str");
    if (now == null) {
      if (lastPlot != null && !plotExit(pp,lastPlot)) {
        MainUtil.sendMessage(pp,C.NO_PERMISSION_EVENT,C.PERMISSION_ADMIN_EXIT_DENIED);
        if (lastPlot.equals(BukkitUtil.getLocation(from).getPlot())) {
          player.teleport(from);
        }
 else {
          player.teleport(player.getWorld().getSpawnLocation());
        }
        event.setCancelled(true);
        return;
      }
    }
 else     if (now.equals(lastPlot)) {
      return;
    }
 else     if (!plotEntry(pp,now)) {
      MainUtil.sendMessage(pp,C.NO_PERMISSION_EVENT,C.PERMISSION_ADMIN_ENTRY_DENIED);
      player.teleport(from);
      event.setCancelled(true);
      return;
    }
    Integer border=area.getBorder();
    if (x2 > border) {
      to.setX(border - 4);
      player.teleport(event.getTo());
      MainUtil.sendMessage(pp,C.BORDER);
      return;
    }
    if (x2 < -border) {
      to.setX(-border + 4);
      player.teleport(event.getTo());
      MainUtil.sendMessage(pp,C.BORDER);
      return;
    }
    return;
  }
  int z2;
  if (MathMan.roundInt(from.getZ()) != (z2=MathMan.roundInt(to.getZ()))) {
    Player player=event.getPlayer();
    PlotPlayer pp=BukkitUtil.getPlayer(player);
    TaskManager.TELEPORT_QUEUE.remove(pp.getName());
    Location loc=BukkitUtil.getLocation(to);
    pp.setMeta("String_Node_Str",loc);
    PlotArea area=loc.getPlotArea();
    if (area == null) {
      pp.deleteMeta("String_Node_Str");
      return;
    }
    Plot now=area.getPlot(loc);
    Plot lastPlot=pp.getMeta("String_Node_Str");
    if (now == null) {
      if (lastPlot != null && !plotExit(pp,lastPlot)) {
        MainUtil.sendMessage(pp,C.NO_PERMISSION_EVENT,C.PERMISSION_ADMIN_EXIT_DENIED);
        if (lastPlot.equals(BukkitUtil.getLocation(from).getPlot())) {
          player.teleport(from);
        }
 else {
          player.teleport(player.getWorld().getSpawnLocation());
        }
        event.setCancelled(true);
        return;
      }
    }
 else     if (now.equals(lastPlot)) {
      return;
    }
 else     if (!plotEntry(pp,now)) {
      MainUtil.sendMessage(pp,C.NO_PERMISSION_EVENT,C.PERMISSION_ADMIN_ENTRY_DENIED);
      player.teleport(from);
      event.setCancelled(true);
      return;
    }
    Integer border=area.getBorder();
    if (z2 > border) {
      to.setZ(border - 4);
      player.teleport(event.getTo());
      MainUtil.sendMessage(pp,C.BORDER);
    }
 else     if (z2 < -border) {
      to.setZ(-border + 4);
      player.teleport(event.getTo());
      MainUtil.sendMessage(pp,C.BORDER);
    }
  }
}