Wrap player list
This commit is contained in:
parent
2739011ab7
commit
234af485db
|
@ -11,7 +11,7 @@ object PlayerListCommand : IBridgeCommand {
|
||||||
override val help: String = "Lists online players."
|
override val help: String = "Lists online players."
|
||||||
override fun call(args: String): Boolean {
|
override fun call(args: String): Boolean {
|
||||||
if (args.isNotBlank()) return false
|
if (args.isNotBlank()) return false
|
||||||
val playerList = FMLCommonHandler.instance().minecraftServerInstance.playerList.onlinePlayerNames
|
val playerList = MatterLink.wrappedPlayerList()
|
||||||
MessageHandler.transmit(ApiMessage(
|
MessageHandler.transmit(ApiMessage(
|
||||||
username = cfg!!.relay.systemUser,
|
username = cfg!!.relay.systemUser,
|
||||||
text = when {
|
text = when {
|
||||||
|
|
Loading…
Reference in New Issue