From 6b82ba9d7228380ef0103f098c74465b56aab617 Mon Sep 17 00:00:00 2001 From: stijnb1234 Date: Fri, 21 Feb 2020 10:06:36 +0100 Subject: [PATCH] Fixed rename command not working, because of namechange. (Will be listed if working) --- .../lombok/nl/SBDeveloper/V10Lift/Commands/V10LiftCommand.java | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/main/lombok/nl/SBDeveloper/V10Lift/Commands/V10LiftCommand.java b/src/main/lombok/nl/SBDeveloper/V10Lift/Commands/V10LiftCommand.java index 4af51f3..1d46626 100644 --- a/src/main/lombok/nl/SBDeveloper/V10Lift/Commands/V10LiftCommand.java +++ b/src/main/lombok/nl/SBDeveloper/V10Lift/Commands/V10LiftCommand.java @@ -579,7 +579,10 @@ public class V10LiftCommand implements CommandExecutor { return true; } + Bukkit.dispatchCommand(sender, "v10lift edit"); V10LiftPlugin.getAPI().renameLift(liftName, args[1]); + Bukkit.dispatchCommand(sender, "v10lift edit " + args[1]); + sender.sendMessage(ChatColor.GREEN + "Lift successfully renamed!"); return true; }