@Override
public void execute(CommandSender sender, List<?> params) throws CommandException {
Player player = super.getSenderAsPlayer(sender);
if (getName().equalsIgnoreCase("set")) {
setWaypoint((String)params.get(0), player);
player.sendChatMessage("Waypoint was set at " + FontColour.AQUA + getLocationAsString(player.getPosition()));
} else if (getName().equalsIgnoreCase("rem")) {
if (removeWaypoint((String)params.get(0), player)) {
player.sendChatMessage("Waypoint was removed.");
} else {
throw new CommandException("Waypoint does not exist.");