From 30d3b0d02e05dd5590d4fd6ff85a9cc2330f8d70 Mon Sep 17 00:00:00 2001 From: FlorianMichael Date: Fri, 18 Oct 2024 23:05:41 +0200 Subject: [PATCH] Handle new relative arguments in PLAYER_POSITION and TELEPORT_ENTITY --- .../rewriter/EntityPacketRewriter1_21_2.java | 89 ++++++++++++------- .../v1_21_2to1_21/storage/PlayerStorage.java | 28 ++++++ 2 files changed, 84 insertions(+), 33 deletions(-) diff --git a/common/src/main/java/com/viaversion/viabackwards/protocol/v1_21_2to1_21/rewriter/EntityPacketRewriter1_21_2.java b/common/src/main/java/com/viaversion/viabackwards/protocol/v1_21_2to1_21/rewriter/EntityPacketRewriter1_21_2.java index 60745ad9..b4212635 100644 --- a/common/src/main/java/com/viaversion/viabackwards/protocol/v1_21_2to1_21/rewriter/EntityPacketRewriter1_21_2.java +++ b/common/src/main/java/com/viaversion/viabackwards/protocol/v1_21_2to1_21/rewriter/EntityPacketRewriter1_21_2.java @@ -181,7 +181,7 @@ public final class EntityPacketRewriter1_21_2 extends EntityRewriter { @@ -198,44 +198,16 @@ public final class EntityPacketRewriter1_21_2 extends EntityRewriter { @@ -299,7 +271,7 @@ public final class EntityPacketRewriter1_21_2 extends EntityRewriter { wrapper.passthrough(Types.DOUBLE); // X @@ -310,7 +282,7 @@ public final class EntityPacketRewriter1_21_2 extends EntityRewriter { @@ -330,7 +302,7 @@ public final class EntityPacketRewriter1_21_2 extends EntityRewriter