forked from GeyserMC/Geyser
Fix compass
This commit is contained in:
parent
8ae1c4d70a
commit
423d02306c
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ public class JavaSpawnPositionTranslator extends PacketTranslator<ServerSpawnPos
|
|||
SetSpawnPositionPacket spawnPositionPacket = new SetSpawnPositionPacket();
|
||||
spawnPositionPacket.setBlockPosition(Vector3i.from(packet.getPosition().getX(), packet.getPosition().getY(), packet.getPosition().getZ()));
|
||||
spawnPositionPacket.setSpawnForced(true);
|
||||
spawnPositionPacket.setSpawnType(SetSpawnPositionPacket.Type.PLAYER_SPAWN);
|
||||
spawnPositionPacket.setSpawnType(SetSpawnPositionPacket.Type.WORLD_SPAWN);
|
||||
session.getUpstream().sendPacket(spawnPositionPacket);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue