mirror of
https://github.com/PaperMC/Paper.git
synced 2025-04-12 08:57:39 +02:00
Document replacement for Skull owner profile methods (#12195)
This commit is contained in:
parent
b506626824
commit
1d5e5a57e9
1 changed files with 4 additions and 0 deletions
|
@ -82,6 +82,8 @@ public interface Skull extends TileState {
|
|||
* may appear as the texture depending on skull type.
|
||||
*
|
||||
* @return the profile of the owning player
|
||||
*
|
||||
* @deprecated Use {@link #getPlayerProfile()} instead.
|
||||
*/
|
||||
@Nullable
|
||||
@Deprecated // Paper
|
||||
|
@ -98,6 +100,8 @@ public interface Skull extends TileState {
|
|||
* @param profile the profile of the owning player
|
||||
* @throws IllegalArgumentException if the profile does not contain the
|
||||
* necessary information
|
||||
*
|
||||
* @deprecated Use {@link #setPlayerProfile(com.destroystokyo.paper.profile.PlayerProfile)} instead.
|
||||
*/
|
||||
@Deprecated // Paper
|
||||
void setOwnerProfile(@Nullable PlayerProfile profile);
|
||||
|
|
Loading…
Add table
Reference in a new issue