From ef65431d405a713b138a55054e78497883f27e54 Mon Sep 17 00:00:00 2001 From: him Date: Sat, 11 Feb 2023 18:23:09 -0500 Subject: Add waypoint renaming Co-authored-by: Flarp Reviewed-on: https://git.benjidial.net/benji/nswp/pulls/1 Co-authored-by: him Co-committed-by: him --- src/main/java/net/benjidial/nswp/Plugin.java | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/main/java/net/benjidial/nswp/Plugin.java') 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()); } } -- cgit v1.2.3