diff --git a/patches/api/Fix-upstream-javadocs.patch b/patches/api/Fix-upstream-javadocs.patch index 38105436ab..e0091fb9d4 100644 --- a/patches/api/Fix-upstream-javadocs.patch +++ b/patches/api/Fix-upstream-javadocs.patch @@ -61,6 +61,15 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 * * @return an array containing all previous players */ +@@ -0,0 +0,0 @@ public final class Bukkit { + * server will pause most functions after this time if there are no players + * online. + *
+- * A value of less than 0 will disable the setting ++ * A value of less than 1 will disable the setting + * + * @param seconds the pause threshold in seconds + */ diff --git a/src/main/java/org/bukkit/ChunkSnapshot.java b/src/main/java/org/bukkit/ChunkSnapshot.java index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644 --- a/src/main/java/org/bukkit/ChunkSnapshot.java @@ -168,6 +177,15 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 * * @return an array containing all previous players */ +@@ -0,0 +0,0 @@ public interface Server extends PluginMessageRecipient, net.kyori.adventure.audi + * Sets the pause when empty threshold seconds. To save resources, the + * pause most functions after this time if there are no players online. + *
+- * A value of less than 0 will disable the setting ++ * A value of less than 1 will disable the setting + * + * @param seconds the pause threshold in seconds + */ diff --git a/src/main/java/org/bukkit/World.java b/src/main/java/org/bukkit/World.java index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644 --- a/src/main/java/org/bukkit/World.java @@ -507,8 +525,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 /** * Saves the players current location, health, inventory, motion, and -- * other information into the username.dat file, in the world/player -- * folder +- * other information into the uuid.dat file, in the <main +- * world>/playerdata folder. + * other information into the <uuid>.dat file, in the + * <level-name>/playerdata/ folder. */ @@ -516,8 +534,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 /** * Loads the players current location, health, inventory, motion, and -- * other information from the username.dat file, in the world/player -- * folder. +- * other information from the uuid.dat file, in the <main +- * world>/playerdata folder. + * other information from the <uuid>.dat file, in the + * <level-name>/playerdata/ folder. *
diff --git a/patches/api/fix-DamageTypeTags-init.patch b/patches/api/fix-DamageTypeTags-init.patch
deleted file mode 100644
index a570fe0b56..0000000000
--- a/patches/api/fix-DamageTypeTags-init.patch
+++ /dev/null
@@ -1,21 +0,0 @@
-From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
-From: Lulu13022002 <41980282+Lulu13022002@users.noreply.github.com>
-Date: Sat, 26 Oct 2024 19:29:41 +0200
-Subject: [PATCH] fix DamageTypeTags init
-
-
-diff --git a/src/main/java/org/bukkit/tag/DamageTypeTags.java b/src/main/java/org/bukkit/tag/DamageTypeTags.java
-index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
---- a/src/main/java/org/bukkit/tag/DamageTypeTags.java
-+++ b/src/main/java/org/bukkit/tag/DamageTypeTags.java
-@@ -0,0 +0,0 @@ public final class DamageTypeTags {
- @ApiStatus.Internal
- public static final String REGISTRY_DAMAGE_TYPES = "damage_types";
-
-- @NotNull
- private static Tag