#1078: Improve Javadocs of Player#loadData() and Player#saveData()

This commit is contained in:
Jan Boerman 2024-11-09 16:53:30 +11:00 committed by md_5
parent 1e2e6a184a
commit a6aba46fe6
No known key found for this signature in database
GPG key ID: E8E901AC7C617C11

View file

@ -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.