Use "None" instead of "global" when no server name is specified

This commit is contained in:
Luck 2017-11-02 19:32:13 +00:00
parent c20b91d5ea
commit 9ea6b0b8bb
No known key found for this signature in database
GPG Key ID: EFA9B3EC5FD90F8B

View File

@ -69,7 +69,7 @@ public class InfoCommand extends SingleCommand {
Message.INFO_MIDDLE.send(sender,
plugin.getMessagingService().map(ExtendedMessagingService::getName).orElse("None"),
plugin.getContextManager().getStaticContextString().orElse("global"),
plugin.getContextManager().getStaticContextString().orElse("None"),
plugin.getPlayerCount(),
plugin.getUniqueConnections().size(),
DateUtil.formatTimeShort((System.currentTimeMillis() - plugin.getStartTime()) / 1000L),