From e51af2efa2a2d2b8891234ec823f1660840cff92 Mon Sep 17 00:00:00 2001 From: LudoCrypt <60561627+LudoCrypt@users.noreply.github.com> Date: Sat, 23 Jul 2022 00:04:58 -0500 Subject: [PATCH] swap degrees because i was dumb lol --- gradle.properties | 2 +- src/main/java/net/ludocrypt/limlib/api/LiminalUtil.java | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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);