Fixed rename command not working, because of namechange. (Will be listed if working)
This commit is contained in:
parent
c3ee76eb2b
commit
6b82ba9d72
1 changed files with 3 additions and 0 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue