Incorrect Javadoc for Player#setPlayerListOrder(int)

XMLWordPrintable

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • None
    • Affects Version/s: None
    • 4471-Spigot-e339edc-63df70e (MC: 1.21.5) (Implementing API version 1.21.5-R0.1-SNAPSHOT)
    • Yes

      The javadoc states that the integer parameter "must be positive", however the implementation checks if the order is >= 0, so 0 should be either included in the Javadoc or removed from the implementation.
      The value of the listOrder variable in Vanilla code is 0 so I guess it should be allowed.

            Assignee:
            Unassigned
            Reporter:
            Remix
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: