summaryrefslogtreecommitdiff
path: root/src/main/java/net/benjidial/nswp/Plugin.java
diff options
context:
space:
mode:
authorhim <edorta@uncc.edu>2023-02-11 18:23:09 -0500
committerBenji Dial <benji@noreply.git.benjidial.net>2023-02-11 18:23:09 -0500
commitef65431d405a713b138a55054e78497883f27e54 (patch)
treefa74375079e43b30599cd5cc9b1e816af37413b8 /src/main/java/net/benjidial/nswp/Plugin.java
parent166ebd3195907e540076e6e0af04e68a3c3525ee (diff)
downloadnew-simple-waypoints-ef65431d405a713b138a55054e78497883f27e54.tar.gz
Add waypoint renaming
Co-authored-by: Flarp <flurpdadurp@gmail.com> Reviewed-on: https://git.benjidial.net/benji/nswp/pulls/1 Co-authored-by: him <edorta@uncc.edu> Co-committed-by: him <edorta@uncc.edu>
Diffstat (limited to 'src/main/java/net/benjidial/nswp/Plugin.java')
-rw-r--r--src/main/java/net/benjidial/nswp/Plugin.java11
1 files changed, 6 insertions, 5 deletions
diff --git a/src/main/java/net/benjidial/nswp/Plugin.java b/src/main/java/net/benjidial/nswp/Plugin.java
index 9a46cb6..45509a7 100644
--- a/src/main/java/net/benjidial/nswp/Plugin.java
+++ b/src/main/java/net/benjidial/nswp/Plugin.java
@@ -25,10 +25,11 @@ public class Plugin extends JavaPlugin {
return;
}
- getCommand("wlist").setExecutor(new ListWaypoints());
- getCommand("wsave").setExecutor(new SaveWaypoint());
- getCommand("wtp" ).setExecutor(new TeleportToWaypoint());
- getCommand("wdel" ).setExecutor(new DeleteWaypoint());
- getCommand("wback").setExecutor(new WaypointBack());
+ getCommand("wlist" ).setExecutor(new ListWaypoints());
+ getCommand("wsave" ).setExecutor(new SaveWaypoint());
+ getCommand("wtp" ).setExecutor(new TeleportToWaypoint());
+ getCommand("wdel" ).setExecutor(new DeleteWaypoint());
+ getCommand("wback" ).setExecutor(new WaypointBack());
+ getCommand("wrename").setExecutor(new RenameWaypoint());
}
}