diff options
Diffstat (limited to 'patches/api/0054-Fix-upstream-javadocs.patch')
-rw-r--r-- | patches/api/0054-Fix-upstream-javadocs.patch | 19 |
1 files changed, 17 insertions, 2 deletions
diff --git a/patches/api/0054-Fix-upstream-javadocs.patch b/patches/api/0054-Fix-upstream-javadocs.patch index a9c04377b3..33fefd3c7b 100644 --- a/patches/api/0054-Fix-upstream-javadocs.patch +++ b/patches/api/0054-Fix-upstream-javadocs.patch @@ -19,10 +19,25 @@ index a5868c0bdee345195e279467b526d5d9ff7f64d2..ece84330d2700db8708d2ae2ab7badf4 * @return an array containing all previous players */ diff --git a/src/main/java/org/bukkit/Server.java b/src/main/java/org/bukkit/Server.java -index acd69a5d946974e0b50439a98712750698768ce5..3c987b2fb0f748ce92a87c4ee54a4e9722e1910e 100644 +index acd69a5d946974e0b50439a98712750698768ce5..0053327f3df85a568befc280b53a0eb34e0510d8 100644 --- a/src/main/java/org/bukkit/Server.java +++ b/src/main/java/org/bukkit/Server.java -@@ -1110,6 +1110,8 @@ public interface Server extends PluginMessageRecipient, net.kyori.adventure.audi +@@ -509,13 +509,10 @@ public interface Server extends PluginMessageRecipient, net.kyori.adventure.audi + * </ul> + * <p> + * <b>Note:</b> If set to 0, {@link SpawnCategory} mobs spawning will be disabled. +- * <p> +- * Minecraft default: 1. +- * <br> +- * <b>Note: </b> the {@link SpawnCategory#MISC} are not consider. + * + * @param spawnCategory the category of spawn + * @return the default ticks per {@link SpawnCategory} mobs spawn value ++ * @throws IllegalArgumentException if the category is {@link SpawnCategory#MISC} + */ + public int getTicksPerSpawns(@NotNull SpawnCategory spawnCategory); + +@@ -1110,6 +1107,8 @@ public interface Server extends PluginMessageRecipient, net.kyori.adventure.audi /** * Gets every player that has ever played on this server. |