From 772760a064e4b4240586132f96dcb73c711dbb62 Mon Sep 17 00:00:00 2001 From: BillyGalbreath Date: Sat, 9 Jul 2022 01:03:24 -0500 Subject: [PATCH] Whose bright idea was it to force nullability annotations? --- patches/api/0048-Add-local-difficulty-api.patch | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/patches/api/0048-Add-local-difficulty-api.patch b/patches/api/0048-Add-local-difficulty-api.patch index 9d5814f27..8ff8bd3c4 100644 --- a/patches/api/0048-Add-local-difficulty-api.patch +++ b/patches/api/0048-Add-local-difficulty-api.patch @@ -5,7 +5,7 @@ Subject: [PATCH] Add local difficulty api diff --git a/src/main/java/org/bukkit/World.java b/src/main/java/org/bukkit/World.java -index e8c0c853eb52d1473c20231660355f77b1f7e016..4a3c79ff1c063219914b08868524a59f61f6c525 100644 +index e8c0c853eb52d1473c20231660355f77b1f7e016..3d053490dc87724f57893a553f1ab9cf1a3b73c0 100644 --- a/src/main/java/org/bukkit/World.java +++ b/src/main/java/org/bukkit/World.java @@ -3985,6 +3985,16 @@ public interface World extends RegionAccessor, WorldInfo, PluginMessageRecipient @@ -19,7 +19,7 @@ index e8c0c853eb52d1473c20231660355f77b1f7e016..4a3c79ff1c063219914b08868524a59f + * @param location Location to check + * @return The local difficulty + */ -+ public float getLocalDifficultyAt(Location location); ++ public float getLocalDifficultyAt(@NotNull Location location); + // Purpur end + /**