Skip to content

Commit

Permalink
Document replacement for Skull owner profile methods (#12195)
Browse files Browse the repository at this point in the history
  • Loading branch information
Warriorrrr authored Feb 28, 2025
1 parent b506626 commit 1d5e5a5
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions paper-api/src/main/java/org/bukkit/block/Skull.java
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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);
Expand Down

0 comments on commit 1d5e5a5

Please sign in to comment.