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

This commit is contained in:
Shane Freeder 2020-02-22 15:30:42 +00:00
parent 69d714b0c7
commit 0bc0116a01

View File

@ -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
@@ -0,0 +0,0 @@
@ -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
+