diff --git a/gradle.properties b/gradle.properties index b9e7bcd..2a7c4b9 100644 --- a/gradle.properties +++ b/gradle.properties @@ -8,6 +8,6 @@ satin_version=1.8.0 sodium_version=mc1.19-0.4.2 iris_version=1.19.x-v1.2.5 -mod_version = 6.0.0 +mod_version = 6.0.1 maven_group = net.ludocrypt archives_base_name = limlib \ No newline at end of file diff --git a/src/main/java/net/ludocrypt/limlib/api/LiminalUtil.java b/src/main/java/net/ludocrypt/limlib/api/LiminalUtil.java index dbeee29..2145475 100644 --- a/src/main/java/net/ludocrypt/limlib/api/LiminalUtil.java +++ b/src/main/java/net/ludocrypt/limlib/api/LiminalUtil.java @@ -37,8 +37,8 @@ public static E travelTo(E teleported, ServerWorld destinatio throw new UnsupportedOperationException("Position " + blockPos.toString() + " is out of this world!"); } - float f = MathHelper.wrapDegrees(target.pitch); - float g = MathHelper.wrapDegrees(target.yaw); + float f = MathHelper.wrapDegrees(target.yaw); + float g = MathHelper.wrapDegrees(target.pitch); if (teleported instanceof ServerPlayerEntity) { ChunkPos chunkPos = new ChunkPos(blockPos);