mirror of
https://github.com/PaperMC/Paper.git
synced 2025-05-19 05:30:23 -07:00
Document replacement for Skull owner profile methods (#12195)
This commit is contained in:
parent
b506626824
commit
1d5e5a57e9
@ -82,6 +82,8 @@ public interface Skull extends TileState {
|
|||||||
* may appear as the texture depending on skull type.
|
* may appear as the texture depending on skull type.
|
||||||
*
|
*
|
||||||
* @return the profile of the owning player
|
* @return the profile of the owning player
|
||||||
|
*
|
||||||
|
* @deprecated Use {@link #getPlayerProfile()} instead.
|
||||||
*/
|
*/
|
||||||
@Nullable
|
@Nullable
|
||||||
@Deprecated // Paper
|
@Deprecated // Paper
|
||||||
@ -98,6 +100,8 @@ public interface Skull extends TileState {
|
|||||||
* @param profile the profile of the owning player
|
* @param profile the profile of the owning player
|
||||||
* @throws IllegalArgumentException if the profile does not contain the
|
* @throws IllegalArgumentException if the profile does not contain the
|
||||||
* necessary information
|
* necessary information
|
||||||
|
*
|
||||||
|
* @deprecated Use {@link #setPlayerProfile(com.destroystokyo.paper.profile.PlayerProfile)} instead.
|
||||||
*/
|
*/
|
||||||
@Deprecated // Paper
|
@Deprecated // Paper
|
||||||
void setOwnerProfile(@Nullable PlayerProfile profile);
|
void setOwnerProfile(@Nullable PlayerProfile profile);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user