Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-168666

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • None
    • 1.15.1
    • None
    • Plausible
    • Crash, Networking
    • Low
    • Platform

      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.

            Unassigned Unassigned
            marcono1234 Marcono1234
            Votes:
            4 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              CHK: