mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-04 07:17:46 +01:00
Fix nullability annotation for Tameable#getOwnerUniqueId (Fixes #2968)
This commit is contained in:
parent
69d714b0c7
commit
0bc0116a01
@ -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
|
||||
+
|
||||
|
Loading…
Reference in New Issue
Block a user