Update a whole lot of deprecated annotations

This commit is contained in:
Nassim Jahnke
2025-03-21 17:50:04 +01:00
parent bb1beda67b
commit 9f00461456
113 changed files with 785 additions and 710 deletions
@@ -930,7 +930,6 @@ public final class Bukkit {
* @param id the id of the map to get
* @return a map view if it exists, or null otherwise
*/
// @Deprecated(since = "1.6.2") // Paper - Not a magic value
@Nullable
public static MapView getMap(int id) {
return server.getMap(id);
@@ -1392,7 +1391,7 @@ public final class Bukkit {
* @return true if the server should send a preview, false otherwise
* @deprecated chat previews have been removed
*/
@Deprecated(since = "1.19.3")
@Deprecated(since = "1.19.3", forRemoval = true)
public static boolean shouldSendChatPreviews() {
return server.shouldSendChatPreviews();
}
@@ -1515,7 +1514,6 @@ public final class Bukkit {
* @return an offline player
* @see #getOfflinePlayer(java.util.UUID)
*/
// @Deprecated(since = "1.7.5") // Paper
@NotNull
public static OfflinePlayer getOfflinePlayer(@NotNull String name) {
return server.getOfflinePlayer(name);