mirror of
https://github.com/plan-player-analytics/Plan.git
synced 2024-12-21 05:50:18 +08: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());
|
||||
|
||||
// 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) {
|
||||
|
Loading…
Reference in New Issue
Block a user