Commits

Jan Boerman authored and md_5 committed a6aba46fe66
#1078: Improve Javadocs of Player#loadData() and Player#saveData()
No tags

src/main/java/org/bukkit/entity/Player.java

Modified
386 386
387 387 /**
388 388 * Sets whether the player is sprinting or not.
389 389 *
390 390 * @param sprinting true if the player should be sprinting
391 391 */
392 392 public void setSprinting(boolean sprinting);
393 393
394 394 /**
395 395 * Saves the players current location, health, inventory, motion, and
396 - * other information into the username.dat file, in the world/player
397 - * folder
396 + * other information into the uuid.dat file, in the <main
397 + * world>/playerdata folder.
398 398 */
399 399 public void saveData();
400 400
401 401 /**
402 402 * Loads the players current location, health, inventory, motion, and
403 - * other information from the username.dat file, in the world/player
404 - * folder.
403 + * other information from the uuid.dat file, in the <main
404 + * world>/playerdata folder.
405 405 * <p>
406 406 * Note: This will overwrite the players current inventory, health,
407 407 * motion, etc, with the state from the saved dat file.
408 408 */
409 409 public void loadData();
410 410
411 411 /**
412 412 * Sets whether the player is ignored as not sleeping. If everyone is
413 413 * either sleeping or has this flag set, then time will advance to the
414 414 * next day. If everyone has this flag set but no one is actually in bed,

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut