Skip to content

Commit

Permalink
Fix CME
Browse files Browse the repository at this point in the history
  • Loading branch information
senseiwells committed Jan 28, 2024
1 parent 9c2b42b commit b0083d2
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ import net.minecraft.server.MinecraftServer
import net.minecraft.server.level.ServerPlayer
import java.util.*
import java.util.concurrent.CompletableFuture
import kotlin.collections.ArrayList
import kotlin.collections.HashMap

object PlayerRecorders {
Expand Down Expand Up @@ -66,7 +67,7 @@ object PlayerRecorders {

@JvmStatic
fun all(): Collection<PlayerRecorder> {
return this.players.values
return ArrayList(this.players.values)
}

internal fun close(server: MinecraftServer, uuid: UUID, future: CompletableFuture<Long>) {
Expand Down

0 comments on commit b0083d2

Please sign in to comment.