Skip to content

Commit c7714bb

Browse files
authored
Update PlayerPostRespawnEvent to include full location data (#13237)
1 parent 2a1871b commit c7714bb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

paper-server/patches/sources/net/minecraft/server/players/PlayerList.java.patch

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -557,7 +557,7 @@
557557
+ // Call post respawn event
558558
+ new com.destroystokyo.paper.event.player.PlayerPostRespawnEvent(
559559
+ serverPlayer.getBukkitEntity(),
560-
+ org.bukkit.craftbukkit.util.CraftLocation.toBukkit(vec3),
560+
+ org.bukkit.craftbukkit.util.CraftLocation.toBukkit(teleportTransition.position(), level, teleportTransition.yRot(), teleportTransition.xRot()),
561561
+ result.isBedSpawn(),
562562
+ result.isAnchorSpawn(),
563563
+ teleportTransition.missingRespawnBlock(),

0 commit comments

Comments
 (0)