aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0471-MC-4-Fix-item-position-desync.patch
diff options
context:
space:
mode:
authorJake Potrebic <[email protected]>2024-04-12 11:24:08 -0700
committerJake Potrebic <[email protected]>2024-04-12 11:24:08 -0700
commit23a513ce1df5ee7e2697a14f04206687fd15afd8 (patch)
tree1af154c4c5c26873f2a73902302579bf6f2f3b04 /patches/server/0471-MC-4-Fix-item-position-desync.patch
parentbadf407f77bf2e698b25b4fb3ed4085bdc12c104 (diff)
downloadPaper-feat/vineflower.tar.gz
Paper-feat/vineflower.zip
update fineflower and fix patches againfeat/vineflower
Diffstat (limited to 'patches/server/0471-MC-4-Fix-item-position-desync.patch')
-rw-r--r--patches/server/0471-MC-4-Fix-item-position-desync.patch6
1 files changed, 3 insertions, 3 deletions
diff --git a/patches/server/0471-MC-4-Fix-item-position-desync.patch b/patches/server/0471-MC-4-Fix-item-position-desync.patch
index 8a363ed41a..597d2419e2 100644
--- a/patches/server/0471-MC-4-Fix-item-position-desync.patch
+++ b/patches/server/0471-MC-4-Fix-item-position-desync.patch
@@ -9,7 +9,7 @@ loss, which forces the server to lose the same precision as the client
keeping them in sync.
diff --git a/src/main/java/net/minecraft/network/protocol/game/VecDeltaCodec.java b/src/main/java/net/minecraft/network/protocol/game/VecDeltaCodec.java
-index ffec3deb9bcd31d51974c1deda2e76bc8374e5c5..baacaa8fcefdee3c7eeebae1d3a365553e2dbac6 100644
+index fb44116303ab1fed9d867087531c7601c015ddb9..a3d247c93ac1a2d872ff0e3841efc3d7b84fcbc1 100644
--- a/src/main/java/net/minecraft/network/protocol/game/VecDeltaCodec.java
+++ b/src/main/java/net/minecraft/network/protocol/game/VecDeltaCodec.java
@@ -9,12 +9,12 @@ public class VecDeltaCodec {
@@ -22,8 +22,8 @@ index ffec3deb9bcd31d51974c1deda2e76bc8374e5c5..baacaa8fcefdee3c7eeebae1d3a36555
@VisibleForTesting
static double decode(long value) {
-- return (double)value / 4096.0;
-+ return (double)value / 4096.0; // Paper - Fix MC-4; diff on change
+- return value / 4096.0;
++ return value / 4096.0; // Paper - Fix MC-4; diff on change
}
public Vec3 decode(long x, long y, long z) {