From 0bc0116a0142fe1f6223ced1c85c2f6e00a6d849 Mon Sep 17 00:00:00 2001 From: Shane Freeder Date: Sat, 22 Feb 2020 15:30:42 +0000 Subject: [PATCH] Fix nullability annotation for Tameable#getOwnerUniqueId (Fixes #2968) --- Spigot-API-Patches/Tameable-getOwnerUniqueId-API.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Spigot-API-Patches/Tameable-getOwnerUniqueId-API.patch b/Spigot-API-Patches/Tameable-getOwnerUniqueId-API.patch index 7ec097221f..77c7538b1f 100644 --- a/Spigot-API-Patches/Tameable-getOwnerUniqueId-API.patch +++ b/Spigot-API-Patches/Tameable-getOwnerUniqueId-API.patch @@ -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 +