mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-21 07:41:30 +01:00
Update javadoc on setPlayerProfile
This commit is contained in:
parent
aa8ad3124a
commit
9e2678f71a
@ -6,7 +6,7 @@ Subject: [PATCH] Player.setPlayerProfile API
|
|||||||
This can be useful for changing name or skins after a player has logged in.
|
This can be useful for changing name or skins after a player has logged in.
|
||||||
|
|
||||||
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 a882323d..eac8195f 100644
|
index a882323d..87a9b750 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
|
||||||
@@ -0,0 +0,0 @@ package org.bukkit.entity;
|
@@ -0,0 +0,0 @@ package org.bukkit.entity;
|
||||||
@ -29,8 +29,9 @@ index a882323d..eac8195f 100644
|
|||||||
+ PlayerProfile getPlayerProfile();
|
+ PlayerProfile getPlayerProfile();
|
||||||
+
|
+
|
||||||
+ /**
|
+ /**
|
||||||
+ * Changes the PlayerProfile for this player. This will cause all
|
+ * Changes the PlayerProfile for this player. This will cause this player
|
||||||
+ * @param profile
|
+ * to be reregistered to all clients that can currently see this player
|
||||||
|
+ * @param profile The new profile to use
|
||||||
+ */
|
+ */
|
||||||
+ void setPlayerProfile(PlayerProfile profile);
|
+ void setPlayerProfile(PlayerProfile profile);
|
||||||
// Paper end
|
// Paper end
|
||||||
|
Loading…
Reference in New Issue
Block a user