mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-30 16:19:03 +01:00
Fix Player#loadData and Player#saveData javadocs (#8039)
This commit is contained in:
parent
a029f5d67c
commit
3091fb476a
1 changed files with 20 additions and 0 deletions
|
@ -94,6 +94,26 @@ diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/buk
|
|||
index 0000000000000000000000000000000000000000..0000000000000000000000000000000000000000 100644
|
||||
--- a/src/main/java/org/bukkit/entity/Player.java
|
||||
+++ b/src/main/java/org/bukkit/entity/Player.java
|
||||
@@ -0,0 +0,0 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
|
||||
|
||||
/**
|
||||
* 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
|
||||
+ * <level-name>/playerdata/ folder.
|
||||
*/
|
||||
public void saveData();
|
||||
|
||||
/**
|
||||
* 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
|
||||
+ * <level-name>/playerdata/ folder.
|
||||
* <p>
|
||||
* Note: This will overwrite the players current inventory, health,
|
||||
* motion, etc, with the state from the saved dat file.
|
||||
@@ -0,0 +0,0 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
|
||||
*
|
||||
* Use supplied alternative character to the section symbol to represent legacy color codes.
|
||||
|
|
Loading…
Reference in a new issue