mirror of
https://github.com/PaperMC/Paper.git
synced 2025-08-10 00:52:22 -07:00
#1078: Improve Javadocs of Player#loadData() and Player#saveData()
By: Jan Boerman <jannyboy11@gmail.com>
This commit is contained in:
@@ -393,15 +393,15 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Saves the players current location, health, inventory, motion, and
|
* Saves the players current location, health, inventory, motion, and
|
||||||
* other information into the username.dat file, in the world/player
|
* other information into the uuid.dat file, in the <main
|
||||||
* folder
|
* world>/playerdata folder.
|
||||||
*/
|
*/
|
||||||
public void saveData();
|
public void saveData();
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Loads the players current location, health, inventory, motion, and
|
* Loads the players current location, health, inventory, motion, and
|
||||||
* other information from the username.dat file, in the world/player
|
* other information from the uuid.dat file, in the <main
|
||||||
* folder.
|
* world>/playerdata folder.
|
||||||
* <p>
|
* <p>
|
||||||
* Note: This will overwrite the players current inventory, health,
|
* Note: This will overwrite the players current inventory, health,
|
||||||
* motion, etc, with the state from the saved dat file.
|
* motion, etc, with the state from the saved dat file.
|
||||||
|
Reference in New Issue
Block a user