mirror of
https://github.com/ViaVersion/ViaProxy.git
synced 2024-11-22 07:28:09 -05:00
Updated Via API usage
This commit is contained in:
parent
493341c058
commit
87de244ab4
1 changed files with 1 additions and 1 deletions
|
@ -40,7 +40,7 @@ public class SpawnPositionTracker extends StoredObject {
|
|||
}
|
||||
|
||||
public void sendSpawnPosition() {
|
||||
final PacketWrapper setDefaultSpawnPosition = PacketWrapper.create(ClientboundPackets1_18.SET_DEFAULT_SPAWN_POSITION, this.getUser());
|
||||
final PacketWrapper setDefaultSpawnPosition = PacketWrapper.create(ClientboundPackets1_18.SET_DEFAULT_SPAWN_POSITION, this.user());
|
||||
setDefaultSpawnPosition.write(Types.BLOCK_POSITION1_14, this.spawnPosition); // position
|
||||
setDefaultSpawnPosition.write(Types.FLOAT, this.angle); // angle
|
||||
setDefaultSpawnPosition.send(Protocol1_18To1_18_2.class);
|
||||
|
|
Loading…
Reference in a new issue