From fed16ccbff1751c3afe468d5dfa7536667d437b8 Mon Sep 17 00:00:00 2001 From: Owen1212055 <23108066+Owen1212055@users.noreply.github.com> Date: Thu, 8 Jun 2023 22:37:59 -0400 Subject: [PATCH] Move block farther away for Player#setRotation (#8514) --- patches/server/More-Teleport-API.patch | 1 + 1 file changed, 1 insertion(+) diff --git a/patches/server/More-Teleport-API.patch b/patches/server/More-Teleport-API.patch index d24dd35627..1ddd441001 100644 --- a/patches/server/More-Teleport-API.patch +++ b/patches/server/More-Teleport-API.patch @@ -88,6 +88,7 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000 + targetLocation.setPitch(pitch); + + org.bukkit.util.Vector direction = targetLocation.getDirection(); ++ direction.multiply(9999999); // We need to move the target block.. FAR out + targetLocation.add(direction); + this.lookAt(targetLocation, io.papermc.paper.entity.LookAnchor.EYES); + // Paper end