Mojira Archive
MC-168666

GS4 query / net.minecraft.server.MinecraftServer.getPlayerNames() is not thread-safe

The bug

net.minecraft.server.MinecraftServer.getPlayerNames() (Mojang name) is not thread-safe. This can be problematic because it implements net.minecraft.server.ServerInterface.getPlayerNames() for the DedicatedServer. That method is called from a different thread when using GS4 query, see QueryThreadGs4.

Unresolved

Marcono1234

2019-12-23, 01:53 PM

2023-10-26, 06:52 PM

4

3

Plausible

Low

Platform

Crash, Networking

1.15.1

-