remove spawn rotation
This commit is contained in:
parent
c201df68b2
commit
367e6f5bfd
3 changed files with 2 additions and 11 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue