Rename getPotentialBedLocation to getPotentialRespawnLocation (#11950)

This commit is contained in:
masmc05
2025-01-12 03:17:46 +02:00
committed by GitHub
parent ed75b0e54b
commit 08ac057fda
2 changed files with 18 additions and 2 deletions

View File

@@ -154,7 +154,7 @@ public class CraftHumanEntity extends CraftLivingEntity implements HumanEntity {
// Paper start - Potential bed api
@Override
public Location getPotentialBedLocation() {
public Location getPotentialRespawnLocation() {
ServerPlayer handle = (ServerPlayer) getHandle();
BlockPos bed = handle.getRespawnPosition();
if (bed == null) {