From 379c06f519c7fe9462cfeed80c1142188ac64419 Mon Sep 17 00:00:00 2001 From: Adenydd Catherine Stuut Date: Sat, 21 Feb 2026 21:49:03 +0100 Subject: [PATCH 1/2] - resolves #7 Needs testing from auto-built jar --- gradle.properties | 2 +- .../java/io/github/adainish/wynautrankup/util/Location.java | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gradle.properties b/gradle.properties index 64d4a6c..ab2d0bd 100644 --- a/gradle.properties +++ b/gradle.properties @@ -5,7 +5,7 @@ org.gradle.jvmargs=-Xmx6G minecraft_version=1.21.1 loader_version=0.16.10 # Mod Properties -mod_version=1.0.3 +mod_version=1.0.4 maven_group=io.github.adainish archives_base_name=wynautrankup # Dependencies diff --git a/src/main/java/io/github/adainish/wynautrankup/util/Location.java b/src/main/java/io/github/adainish/wynautrankup/util/Location.java index 04d1f43..edcd81e 100644 --- a/src/main/java/io/github/adainish/wynautrankup/util/Location.java +++ b/src/main/java/io/github/adainish/wynautrankup/util/Location.java @@ -272,7 +272,7 @@ public void teleport(ServerPlayer player) } player.server.execute(() -> { ServerLevel world = this.getServerWorld(); - player.teleportTo(world, this.x, this.y, this.z, this.pitch, this.yaw); + player.teleportTo(world, this.x, this.y, this.z, this.yaw, this.pitch); player.sendSystemMessage(Component.literal("Teleported you to your destination!").withStyle(ChatFormatting.GREEN)); }); } From 537e9692ef1346a98ad534ed5b2072c1b45fb078 Mon Sep 17 00:00:00 2001 From: Adenydd Stuut Date: Sat, 21 Feb 2026 21:53:58 +0100 Subject: [PATCH 2/2] Update src/main/java/io/github/adainish/wynautrankup/util/Location.java Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> Signed-off-by: Adenydd Stuut --- .../java/io/github/adainish/wynautrankup/util/Location.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/io/github/adainish/wynautrankup/util/Location.java b/src/main/java/io/github/adainish/wynautrankup/util/Location.java index edcd81e..04d1f43 100644 --- a/src/main/java/io/github/adainish/wynautrankup/util/Location.java +++ b/src/main/java/io/github/adainish/wynautrankup/util/Location.java @@ -272,7 +272,7 @@ public void teleport(ServerPlayer player) } player.server.execute(() -> { ServerLevel world = this.getServerWorld(); - player.teleportTo(world, this.x, this.y, this.z, this.yaw, this.pitch); + player.teleportTo(world, this.x, this.y, this.z, this.pitch, this.yaw); player.sendSystemMessage(Component.literal("Teleported you to your destination!").withStyle(ChatFormatting.GREEN)); }); }