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

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • None
    • Affects Version/s: 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

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

              Created:
              Updated:
              Resolved: