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

This commit is contained in:
Rsl1122 2017-10-24 12:33:31 +03:00
parent 911af1c0b3
commit f1a96110a7

View File

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