From 99a00c8e1c12f375c56550dc329a8d193cd5d798 Mon Sep 17 00:00:00 2001
From: Pasqual Koschmieder <pasqual.koschmieder@gmail.com>
Date: Fri, 30 Sep 2022 21:03:42 +0200
Subject: [PATCH] Fix wrong yaw and pitch of
 CommandSourceStack#getBukkitLocation (#8411)

---
 patches/server/Implement-Brigadier-Mojang-API.patch | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/patches/server/Implement-Brigadier-Mojang-API.patch b/patches/server/Implement-Brigadier-Mojang-API.patch
index b9b2b61bae..21964ba3e3 100644
--- a/patches/server/Implement-Brigadier-Mojang-API.patch
+++ b/patches/server/Implement-Brigadier-Mojang-API.patch
@@ -66,7 +66,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
 +        Vec3 pos = getPosition();
 +        org.bukkit.World world = getBukkitWorld();
 +        Vec2 rot = getRotation();
-+        return world != null && pos != null ? new org.bukkit.Location(world, pos.x, pos.y, pos.z, rot != null ? rot.x : 0, rot != null ? rot.y : 0) : null;
++        return world != null && pos != null ? new org.bukkit.Location(world, pos.x, pos.y, pos.z, rot != null ? rot.y : 0, rot != null ? rot.x : 0) : null;
 +    }
 +    // Paper end
 +