Fix nullability annotation for Tameable#getOwnerUniqueId (Fixes #2968)
This commit is contained in:
@@ -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.
|
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
|
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
|
--- a/src/main/java/org/bukkit/entity/Tameable.java
|
||||||
+++ b/src/main/java/org/bukkit/entity/Tameable.java
|
+++ b/src/main/java/org/bukkit/entity/Tameable.java
|
||||||
@@ -0,0 +0,0 @@
|
@@ -0,0 +0,0 @@
|
||||||
@@ -27,7 +27,7 @@ index 0c066bdf..be436f8d 100644
|
|||||||
+ *
|
+ *
|
||||||
+ * @return the owners UUID, or null if not owned
|
+ * @return the owners UUID, or null if not owned
|
||||||
+ */
|
+ */
|
||||||
+ @NotNull
|
+ @Nullable
|
||||||
+ public java.util.UUID getOwnerUniqueId();
|
+ public java.util.UUID getOwnerUniqueId();
|
||||||
+ // Paper end
|
+ // Paper end
|
||||||
+
|
+
|
||||||
|
|||||||
Reference in New Issue
Block a user