From 1f93f56670e94ec5f1e3996eb96f97c22eb582df Mon Sep 17 00:00:00 2001 From: Tamion <70228790+notTamion@users.noreply.github.com> Date: Thu, 17 Jul 2025 17:59:36 +0200 Subject: [PATCH] [ci-skip] Improve getPotentialBedLocation deprecation (#12857) --- paper-api/src/main/java/org/bukkit/entity/HumanEntity.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/paper-api/src/main/java/org/bukkit/entity/HumanEntity.java b/paper-api/src/main/java/org/bukkit/entity/HumanEntity.java index e8d7c31576..90cef1ab81 100644 --- a/paper-api/src/main/java/org/bukkit/entity/HumanEntity.java +++ b/paper-api/src/main/java/org/bukkit/entity/HumanEntity.java @@ -469,9 +469,9 @@ public interface HumanEntity extends LivingEntity, AnimalTamer, InventoryHolder * is still valid. * * @return Bed Location if has slept in one, otherwise null. - * @see #getPotentialRespawnLocation() * @deprecated Misleading name. This method also returns the location of - * respawn anchors. + * respawn anchors, use {@link Player#getRespawnLocation(boolean)} with + * loadLocationAndValidate = false instead */ @Nullable @Deprecated(since = "1.21.4")