mirror of
https://github.com/PurpurMC/Purpur.git
synced 2026-02-17 08:27:43 +01:00
Whose bright idea was it to force nullability annotations?
This commit is contained in:
@@ -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
|
||||
+
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user