mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2025-02-11 09:51:43 +01:00
Fixed players page link leading to incorrect relative links when the AlternativeIP contains a subdirectory #356
This commit is contained in:
parent
f1a96110a7
commit
cfd69de910
@ -43,7 +43,7 @@ public class ListCommand 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("/players");
|
String url = Plan.getInstance().getInfoManager().getLinkTo("/players/");
|
||||||
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