1
0
Fork 0
mirror of https://github.com/PaperMC/Paper.git synced 2025-04-12 08:57:39 +02:00

Document replacement for Skull owner profile methods ()

This commit is contained in:
Warrior 2025-02-28 20:51:39 +01:00 committed by GitHub
parent b506626824
commit 1d5e5a57e9
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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);