Uploaded image for project: 'Spigot'
  1. Spigot
  2. SPIGOT-1232

CraftServer.getPlayer(String name) returns incorrect results in some cases

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • None

      The getPlayer Method does not utilise the absolute delta values when looking at length differences so a longer name starting with the same sequence can return in the place of a perfect match.

      PR will be commented once submitted. Version info is bogus as I was looking at latest source code used output from a fork to satisfy the check

            md_5 md_5
            aet2505 Adam Thomas
            Votes:
            1 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: