mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-27 11:27:35 +01:00
#1078: Improve Javadocs of Player#loadData() and Player#saveData()
By: Jan Boerman <jannyboy11@gmail.com>
This commit is contained in:
parent
eca2ac0d7e
commit
c5deb83324
@ -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 <main
|
||||
* world>/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 <main
|
||||
* world>/playerdata folder.
|
||||
* <p>
|
||||
* Note: This will overwrite the players current inventory, health,
|
||||
* motion, etc, with the state from the saved dat file.
|
||||
|
Loading…
Reference in New Issue
Block a user