Add PlayerRespawnEvent#isMissingRespawnBlock (#12422)

This commit is contained in:
David
2025-04-14 19:43:19 +02:00
committed by GitHub
parent ed322043d0
commit 6b4ad08259
2 changed files with 19 additions and 3 deletions

View File

@@ -491,7 +491,7 @@
}
}
@@ -914,23 +_,81 @@
@@ -914,23 +_,82 @@
}
private boolean isPvpAllowed() {
@@ -550,6 +550,7 @@
+ location,
+ isBedSpawn,
+ isAnchorSpawn,
+ teleportTransition.missingRespawnBlock(),
+ respawnReason,
+ builder
+ );