[SPIGOT-7030] Bukkit#getBanList Javadoc incorrectly says to use UUID as Names will return null Created: 05/Jun/22 Updated: 25/Dec/24 Resolved: 01/Jul/23 |
|
Status: | Resolved |
Project: | Spigot |
Component/s: | None |
Affects Version/s: | None |
Fix Version/s: | None |
Type: | Bug | Priority: | Minor |
Reporter: | Steve | Assignee: | Doc |
Resolution: | Fixed | Votes: | 0 |
Labels: | Javadocs |
Version: | This server is running CraftBukkit version 3475-Spigot-ffceeae-b5559f8 (MC: 1.18.2) (Implementing API version 1.18.2-R0.1-SNAPSHOT |
Guidelines Read: | Yes |
Description |
Bukkit#getBanList Javadoc incorrectly says to use UUID as Names will return nullThis 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) |
Comments |
Comment by Doc [ 05/Jun/22 ] |
Ok.. i not read correctly this issue... let me check again for modify the PR. |
Comment by Doc [ 05/Jun/22 ] |
Created PR for change this docs and specify a empty BanList and not a null. https://hub.spigotmc.org/stash/projects/SPIGOT/repos/bukkit/pull-requests/750/overview |