From 1d5e5a57e919d7d7b79cdd36e5194f63fc55cdce Mon Sep 17 00:00:00 2001 From: Warrior <50800980+Warriorrrr@users.noreply.github.com> Date: Fri, 28 Feb 2025 20:51:39 +0100 Subject: [PATCH] Document replacement for Skull owner profile methods (#12195) --- paper-api/src/main/java/org/bukkit/block/Skull.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/paper-api/src/main/java/org/bukkit/block/Skull.java b/paper-api/src/main/java/org/bukkit/block/Skull.java index 6cb7791e97..d6add557ea 100644 --- a/paper-api/src/main/java/org/bukkit/block/Skull.java +++ b/paper-api/src/main/java/org/bukkit/block/Skull.java @@ -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);