package net.benjidial.nswp.commands; import net.benjidial.nswp.Database; import org.bukkit.entity.Player; import java.sql.SQLException; public class DeleteWaypoint extends WaypointCommand { public CompletionType getCompletionType() { return CompletionType.Waypoint; } public boolean body(Player player, String[] args) throws SQLException { if (args.length != 1) return false; Database.deleteWaypoint(player, args[0]); return true; } }