Fixed rename command not working, because of namechange. (Will be listed if working)

This commit is contained in:
stijnb1234 2020-02-21 10:06:36 +01:00
parent c3ee76eb2b
commit 6b82ba9d72

View file

@ -579,7 +579,10 @@ public class V10LiftCommand implements CommandExecutor {
return true; return true;
} }
Bukkit.dispatchCommand(sender, "v10lift edit");
V10LiftPlugin.getAPI().renameLift(liftName, args[1]); V10LiftPlugin.getAPI().renameLift(liftName, args[1]);
Bukkit.dispatchCommand(sender, "v10lift edit " + args[1]);
sender.sendMessage(ChatColor.GREEN + "Lift successfully renamed!"); sender.sendMessage(ChatColor.GREEN + "Lift successfully renamed!");
return true; return true;
} }