mirror of
https://github.com/LuckPerms/LuckPerms.git
synced 2024-11-24 19:46:32 +01:00
Use "None" instead of "global" when no server name is specified
This commit is contained in:
parent
c20b91d5ea
commit
9ea6b0b8bb
@ -69,7 +69,7 @@ public class InfoCommand extends SingleCommand {
|
|||||||
|
|
||||||
Message.INFO_MIDDLE.send(sender,
|
Message.INFO_MIDDLE.send(sender,
|
||||||
plugin.getMessagingService().map(ExtendedMessagingService::getName).orElse("None"),
|
plugin.getMessagingService().map(ExtendedMessagingService::getName).orElse("None"),
|
||||||
plugin.getContextManager().getStaticContextString().orElse("global"),
|
plugin.getContextManager().getStaticContextString().orElse("None"),
|
||||||
plugin.getPlayerCount(),
|
plugin.getPlayerCount(),
|
||||||
plugin.getUniqueConnections().size(),
|
plugin.getUniqueConnections().size(),
|
||||||
DateUtil.formatTimeShort((System.currentTimeMillis() - plugin.getStartTime()) / 1000L),
|
DateUtil.formatTimeShort((System.currentTimeMillis() - plugin.getStartTime()) / 1000L),
|
||||||
|
Loading…
Reference in New Issue
Block a user