diff options
-rw-r--r-- | src/main/kotlin/moe/nea/firmament/commands/rome.kt | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/main/kotlin/moe/nea/firmament/commands/rome.kt b/src/main/kotlin/moe/nea/firmament/commands/rome.kt index 2baf076..45fabc6 100644 --- a/src/main/kotlin/moe/nea/firmament/commands/rome.kt +++ b/src/main/kotlin/moe/nea/firmament/commands/rome.kt @@ -60,7 +60,9 @@ fun firmamentCommand() = literal("firmament") { ProfileViewer.onCommand(source, MC.player!!.name.unformattedString) } thenArgument("name", string()) { name -> - suggestsList { MC.world?.players?.map { it.name.unformattedString } ?: listOf() } + suggestsList { + MC.world?.players?.filter { it.uuid?.version() == 4 }?.map { it.name.unformattedString } ?: listOf() + } thenExecute { ProfileViewer.onCommand(source, get(name)) } |