From 87de244ab4fe02f4aac6c79b5c077559da440674 Mon Sep 17 00:00:00 2001 From: RaphiMC <50594595+RaphiMC@users.noreply.github.com> Date: Fri, 23 Aug 2024 15:12:23 +0200 Subject: [PATCH] Updated Via API usage --- .../viaproxy/loading_terrain_fix/SpawnPositionTracker.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/net/raphimc/viaproxy/protocoltranslator/viaproxy/loading_terrain_fix/SpawnPositionTracker.java b/src/main/java/net/raphimc/viaproxy/protocoltranslator/viaproxy/loading_terrain_fix/SpawnPositionTracker.java index cd03da8..7957a4c 100644 --- a/src/main/java/net/raphimc/viaproxy/protocoltranslator/viaproxy/loading_terrain_fix/SpawnPositionTracker.java +++ b/src/main/java/net/raphimc/viaproxy/protocoltranslator/viaproxy/loading_terrain_fix/SpawnPositionTracker.java @@ -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);