#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
* other information into the username.dat file, in the world/player
* folder
* other information into the uuid.dat file, in the &lt;main
* world&gt;/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 &lt;main
* world&gt;/playerdata folder.
* <p>
* Note: This will overwrite the players current inventory, health,
* motion, etc, with the state from the saved dat file.