Fix nullability annotation for Tameable#getOwnerUniqueId (Fixes #2968)

Dieser Commit ist enthalten in:
Shane Freeder 2020-02-22 15:30:42 +00:00
Ursprung 49503ef043
Commit 892f479fb4
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden
GPG-Schlüssel-ID: A3F61EA5A085289C

Datei anzeigen

@ -1,4 +1,4 @@
From 3f28b2263c941869901fd442a8cdf09cc619e7b6 Mon Sep 17 00:00:00 2001
From 5cf43f147d4882bf3bd2199979fb4915b74e3e4c Mon Sep 17 00:00:00 2001
From: Aikar <aikar@aikar.co>
Date: Sat, 24 Feb 2018 00:55:52 -0500
Subject: [PATCH] Tameable#getOwnerUniqueId API
@ -7,7 +7,7 @@ This is faster if all you need is the UUID, as .getOwner() will cause
an OfflinePlayer to be loaded from disk.
diff --git a/src/main/java/org/bukkit/entity/Tameable.java b/src/main/java/org/bukkit/entity/Tameable.java
index 0c066bdf..be436f8d 100644
index 0c066bdf..957a6016 100644
--- a/src/main/java/org/bukkit/entity/Tameable.java
+++ b/src/main/java/org/bukkit/entity/Tameable.java
@@ -1,5 +1,6 @@
@ -27,7 +27,7 @@ index 0c066bdf..be436f8d 100644
+ *
+ * @return the owners UUID, or null if not owned
+ */
+ @NotNull
+ @Nullable
+ public java.util.UUID getOwnerUniqueId();
+ // Paper end
+
@ -41,5 +41,5 @@ index 0c066bdf..be436f8d 100644
*/
@Nullable
--
2.25.0.windows.1
2.25.0