Fix missing annotation
This commit is contained in:
parent
664eee6e13
commit
b015abb952
|
@ -5,7 +5,7 @@ Subject: [PATCH] Complete resource pack API
|
||||||
|
|
||||||
|
|
||||||
diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java
|
diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java
|
||||||
index 1a5d42d27299191f60fa1fd380dd0827dff4f7b1..d6eeee1ec221e899f20d50aee9b4deed8a6ef8a2 100644
|
index 1a5d42d27299191f60fa1fd380dd0827dff4f7b1..b30d00f26da93688cc81c522d4a032a72194bd63 100644
|
||||||
--- a/src/main/java/org/bukkit/entity/Player.java
|
--- a/src/main/java/org/bukkit/entity/Player.java
|
||||||
+++ b/src/main/java/org/bukkit/entity/Player.java
|
+++ b/src/main/java/org/bukkit/entity/Player.java
|
||||||
@@ -1151,7 +1151,9 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
|
@@ -1151,7 +1151,9 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
|
||||||
|
@ -117,7 +117,7 @@ index 1a5d42d27299191f60fa1fd380dd0827dff4f7b1..d6eeee1ec221e899f20d50aee9b4deed
|
||||||
+ * @throws IllegalArgumentException Thrown if the URL is too long. The
|
+ * @throws IllegalArgumentException Thrown if the URL is too long. The
|
||||||
+ * length restriction is an implementation specific arbitrary value.
|
+ * length restriction is an implementation specific arbitrary value.
|
||||||
+ */
|
+ */
|
||||||
+ void setResourcePack(@NotNull String url, @NotNull String hash, boolean required, net.kyori.adventure.text.Component resourcePackPrompt);
|
+ void setResourcePack(@NotNull String url, @NotNull String hash, boolean required, @Nullable net.kyori.adventure.text.Component resourcePackPrompt);
|
||||||
+ /**
|
+ /**
|
||||||
+ * @return the most recent resource pack status received from the player,
|
+ * @return the most recent resource pack status received from the player,
|
||||||
+ * or null if no status has ever been received from this player.
|
+ * or null if no status has ever been received from this player.
|
||||||
|
|
Loading…
Reference in New Issue