remove spawn rotation

This commit is contained in:
Sen 2025-05-31 21:19:45 +02:00
parent c201df68b2
commit 367e6f5bfd
Signed by: sen
GPG key ID: 3AC50A6F47D1B722
3 changed files with 2 additions and 11 deletions

View file

@ -739,9 +739,7 @@ public final class Server implements IThreadListener {
int y = pos.getY();
while(world.getState(new BlockPos(pos.getX(), y, pos.getZ())).getBlock().getMaterial().blocksMovement() && y < 511)
y++;
return new Position(pos.getX() + 0.5d, (double)y, pos.getZ() + 0.5d,
radius > 0 ? (-180.0f + world.rand.floatv() * 360.0f) : Config.spawnYaw,
radius > 0 ? 0.0f : Config.spawnPitch, world.dimension.getDimensionId());
return new Position(pos.getX() + 0.5, (double)y, pos.getZ() + 0.5, -180.0f + world.rand.floatv() * 360.0f, 0.0f, world.dimension.getDimensionId());
}
public void addUser(User user) {