wipFlight.removelastWaypoint();
player.sendMessage(DragonTravelMain.getInstance().getMessagesHandler().getMessage("Messages.Flights.Successful.WaypointRemoved"));
}
@Command(aliases = {"setstation", "setstat"},
desc = "Creates a new station here.",
<BUG>usage = "/dt setstation <name> [display_name]",
help = "Creates a new station with the given name at your current location.")</BUG>
@CommandPermissions({"dt.edit.stations", "dt.edit.*"})
public static void setStation(CommandContext args, CommandSender sender) throws CommandException {
if (!(sender instanceof Player)) {

wipFlight.removelastWaypoint();
player.sendMessage(DragonTravelMain.getInstance().getMessagesHandler().getMessage("Messages.Flights.Successful.WaypointRemoved"));
}
@Command(aliases = {"setstation", "setstat"},
desc = "Creates a new station here.",
usage = "/dt setstation <name> [display_name]",
min = 1, max = 2,
help = "Creates a new station with the given name at your current location.")
@CommandPermissions({"dt.edit.stations", "dt.edit.*"})
public static void setStation(CommandContext args, CommandSender sender) throws CommandException {
if (!(sender instanceof Player)) {
