Fix Player#loadData and Player#saveData javadocs (#8039)
This commit is contained in:
parent
147a2b7f54
commit
e52499e41d
|
@ -91,9 +91,29 @@ index be9334a8b5fba9181ad63c211697e798be63da25..0514a141cb93a650be38c63d4336d46e
|
||||||
* Instructs this Mob to set the specified LivingEntity as its target.
|
* Instructs this Mob to set the specified LivingEntity as its target.
|
||||||
* <p>
|
* <p>
|
||||||
diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java
|
diff --git a/src/main/java/org/bukkit/entity/Player.java b/src/main/java/org/bukkit/entity/Player.java
|
||||||
index fb3bea65817564e2e78a0db03cc290a912ae21bc..9d23a4019814f4662f4ab9a47b3fceff656c5245 100644
|
index fb3bea65817564e2e78a0db03cc290a912ae21bc..575db13060693b5e1ecc12911140f3b37e2fe773 100644
|
||||||
--- a/src/main/java/org/bukkit/entity/Player.java
|
--- a/src/main/java/org/bukkit/entity/Player.java
|
||||||
+++ b/src/main/java/org/bukkit/entity/Player.java
|
+++ b/src/main/java/org/bukkit/entity/Player.java
|
||||||
|
@@ -303,15 +303,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
|
||||||
|
+ * <level-name>/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
|
||||||
|
+ * <level-name>/playerdata/ folder.
|
||||||
|
* <p>
|
||||||
|
* Note: This will overwrite the players current inventory, health,
|
||||||
|
* motion, etc, with the state from the saved dat file.
|
||||||
@@ -760,7 +760,7 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
|
@@ -760,7 +760,7 @@ public interface Player extends HumanEntity, Conversable, OfflinePlayer, PluginM
|
||||||
*
|
*
|
||||||
* Use supplied alternative character to the section symbol to represent legacy color codes.
|
* Use supplied alternative character to the section symbol to represent legacy color codes.
|
||||||
|
|
Loading…
Reference in New Issue