Fix more incorrect array nullability annotations (#11836)

This commit is contained in:
Jake Potrebic
2024-12-27 13:24:16 -08:00
committed by GitHub
parent 13c94e40ad
commit ca8709b30f
27 changed files with 61 additions and 77 deletions

View File

@@ -304,8 +304,7 @@ public class PaperServerListPingEvent extends ServerListPingEvent implements Can
return new PlayerIterator();
}
@NotNull
protected Object[] getOnlinePlayers() {
protected @NotNull Object @NotNull [] getOnlinePlayers() {
return Bukkit.getOnlinePlayers().toArray();
}