Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ public ServerWorld onPlayerConnect_firstConnect_spawnPositionOverride(
}

player.setPosition(location[0].pos());
player.setAngles(location[0].headYaw(), location[0].pitch());
return original.getServer().getWorld(location[0].dim());
}

Expand Down Expand Up @@ -117,8 +118,8 @@ public void onRespawnPlayer_forRespawnLocationOverwrite(
targetWorld,
spawnLoc.pos(),
Vec3d.ZERO,
0,
0,
spawnLoc.headYaw(),
spawnLoc.pitch(),
TeleportTarget.NO_OP
));
});
Expand Down