mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-04 06:02:12 -07:00
Updated Upstream (Bukkit/CraftBukkit)
Upstream has released updates that appear to apply and compile correctly. This update has not been tested by PaperMC and as with ANY update, please do your own testing Bukkit Changes: a6aba46f PR-1078: Improve Javadocs of Player#loadData() and Player#saveData() 1e2e6a18 SPIGOT-7946: API for server pause when empty seconds 54a36938 SPIGOT-7944, PR-1077: Allow nullable fields in DamageTypeTags CraftBukkit Changes: 2702c5c8e SPIGOT-7946: API for server pause when empty seconds 485f910fc SPIGOT-7947: addPassenger doesn't work if the vehicle is a player ecf3dff0e SPIGOT-7949: Registering a new scoreboard objective with an empty display name throws a NPE 9b048cc84 SPIGOT-7948: `Bukkit#dispatchCommand` uses the wrong `CommandListenerWrapper` for Players 7b44d4640 SPIGOT-7931: Fix sync in Anvil View when result item is taken
This commit is contained in:
@@ -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.
|
||||
* <p>
|
||||
- * 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.
|
||||
* <p>
|
||||
- * 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.
|
||||
* <p>
|
||||
|
Reference in New Issue
Block a user