Wrap player list

This commit is contained in:
DaMachinator 2018-02-09 14:03:33 -05:00 committed by Arcanitor
parent 2739011ab7
commit 234af485db
1 changed files with 1 additions and 1 deletions

View File

@ -11,7 +11,7 @@ object PlayerListCommand : IBridgeCommand {
override val help: String = "Lists online players."
override fun call(args: String): Boolean {
if (args.isNotBlank()) return false
val playerList = FMLCommonHandler.instance().minecraftServerInstance.playerList.onlinePlayerNames
val playerList = MatterLink.wrappedPlayerList()
MessageHandler.transmit(ApiMessage(
username = cfg!!.relay.systemUser,
text = when {