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

By: Jan Boerman <jannyboy11@gmail.com>
This commit is contained in:
Bukkit/Spigot
2024-11-09 16:53:30 +11:00
parent eca2ac0d7e
commit c5deb83324

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 &lt;main
* folder * world&gt;/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 &lt;main
* folder. * world&gt;/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.