mirror of
https://github.com/PaperMC/Paper.git
synced 2025-07-26 09:42:06 -07:00
[ci-skip] Improve getPotentialBedLocation deprecation (#12857)
This commit is contained in:
@@ -469,9 +469,9 @@ public interface HumanEntity extends LivingEntity, AnimalTamer, InventoryHolder
|
|||||||
* is still valid.
|
* is still valid.
|
||||||
*
|
*
|
||||||
* @return Bed Location if has slept in one, otherwise null.
|
* @return Bed Location if has slept in one, otherwise null.
|
||||||
* @see #getPotentialRespawnLocation()
|
|
||||||
* @deprecated Misleading name. This method also returns the location of
|
* @deprecated Misleading name. This method also returns the location of
|
||||||
* respawn anchors.
|
* respawn anchors, use {@link Player#getRespawnLocation(boolean)} with
|
||||||
|
* loadLocationAndValidate = false instead
|
||||||
*/
|
*/
|
||||||
@Nullable
|
@Nullable
|
||||||
@Deprecated(since = "1.21.4")
|
@Deprecated(since = "1.21.4")
|
||||||
|
Reference in New Issue
Block a user