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

Bukkit#getBanList Javadoc incorrectly says to use UUID as Names will return null

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • None
    • None
    • This server is running CraftBukkit version 3475-Spigot-ffceeae-b5559f8 (MC: 1.18.2) (Implementing API version 1.18.2-R0.1-SNAPSHOT
    • Yes

      Bukkit#getBanList Javadoc incorrectly says to use UUID as Names will return null

      This comment is incorrect as this is the Javadoc for this method not for the returned BanList.

      The returned BanList no longer accepts names but the getBanList() method only has the options in the enum for NAME and IP.

       

      https://hub.spigotmc.org/javadocs/spigot/org/bukkit/Bukkit.html#getBanList(org.bukkit.BanList.Type)

            Doc Doc
            ElgarL Steve
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: