mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-09-19 18:21:00 +02:00
Fixed network page link leading to incorrect relative links when the AlternativeIP contains a subdirectory #356
This commit is contained in:
parent
911af1c0b3
commit
f1a96110a7
@ -46,7 +46,7 @@ public class NetworkCommand extends SubCommand {
|
|||||||
sender.sendMessage(Locale.get(Msg.CMD_CONSTANT_FOOTER).parse());
|
sender.sendMessage(Locale.get(Msg.CMD_CONSTANT_FOOTER).parse());
|
||||||
|
|
||||||
// Link
|
// Link
|
||||||
String url = Plan.getInstance().getInfoManager().getLinkTo("/network");
|
String url = Plan.getInstance().getInfoManager().getLinkTo("/network/");
|
||||||
String message = Locale.get(Msg.CMD_INFO_LINK).toString();
|
String message = Locale.get(Msg.CMD_INFO_LINK).toString();
|
||||||
boolean console = !CommandUtils.isPlayer(sender);
|
boolean console = !CommandUtils.isPlayer(sender);
|
||||||
if (console) {
|
if (console) {
|
||||||
|
Loading…
Reference in New Issue
Block a user