Fixed players page link leading to incorrect relative links when the AlternativeIP contains a subdirectory #356

This commit is contained in:
Rsl1122 2017-10-24 12:34:04 +03:00
parent f1a96110a7
commit cfd69de910

View File

@ -43,7 +43,7 @@ public class ListCommand extends SubCommand {
sender.sendMessage(Locale.get(Msg.CMD_CONSTANT_FOOTER).parse());
// Link
String url = Plan.getInstance().getInfoManager().getLinkTo("/players");
String url = Plan.getInstance().getInfoManager().getLinkTo("/players/");
String message = Locale.get(Msg.CMD_INFO_LINK).toString();
boolean console = !CommandUtils.isPlayer(sender);
if (console) {