From 061642f9ab4ba06ee9128ac05e994255cd4562bd Mon Sep 17 00:00:00 2001 From: RednedEpic Date: Fri, 13 Sep 2019 20:22:00 -0500 Subject: [PATCH] Fix bug where player was spawned inside of a block upon joining --- .../player/JavaPlayerPositionRotationTranslator.java | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/connector/src/main/java/org/geysermc/connector/network/translators/java/entity/player/JavaPlayerPositionRotationTranslator.java b/connector/src/main/java/org/geysermc/connector/network/translators/java/entity/player/JavaPlayerPositionRotationTranslator.java index 66b0853f2..e73953eca 100644 --- a/connector/src/main/java/org/geysermc/connector/network/translators/java/entity/player/JavaPlayerPositionRotationTranslator.java +++ b/connector/src/main/java/org/geysermc/connector/network/translators/java/entity/player/JavaPlayerPositionRotationTranslator.java @@ -35,6 +35,7 @@ import com.nukkitx.protocol.bedrock.packet.SetEntityDataPacket; import com.nukkitx.protocol.bedrock.packet.SetPlayerGameTypePacket; import org.geysermc.connector.console.GeyserLogger; import org.geysermc.connector.entity.Entity; +import org.geysermc.connector.entity.type.EntityType; import org.geysermc.connector.network.session.GeyserSession; import org.geysermc.connector.network.translators.PacketTranslator; @@ -56,7 +57,7 @@ public class JavaPlayerPositionRotationTranslator extends PacketTranslator