diff options
Diffstat (limited to 'patches/server/0977-Reduce-allocation-of-Vec3D-by-entity-tracker.patch')
-rw-r--r-- | patches/server/0977-Reduce-allocation-of-Vec3D-by-entity-tracker.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0977-Reduce-allocation-of-Vec3D-by-entity-tracker.patch b/patches/server/0977-Reduce-allocation-of-Vec3D-by-entity-tracker.patch index d6756e53cf..b1345b9284 100644 --- a/patches/server/0977-Reduce-allocation-of-Vec3D-by-entity-tracker.patch +++ b/patches/server/0977-Reduce-allocation-of-Vec3D-by-entity-tracker.patch @@ -5,13 +5,13 @@ Subject: [PATCH] Reduce allocation of Vec3D by entity tracker 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 3c4ac79c094dc2fff7de94150a34b7bf814ac0de..38b56923a642afc1cb411480ba03cc784ed7cd24 100644 +index baacaa8fcefdee3c7eeebae1d3a365553e2dbac6..0d079f33c5cbc063081d5722c0823e332b448ea2 100644 --- a/src/main/java/net/minecraft/network/protocol/game/VecDeltaCodec.java +++ b/src/main/java/net/minecraft/network/protocol/game/VecDeltaCodec.java @@ -5,7 +5,7 @@ import org.jetbrains.annotations.VisibleForTesting; public class VecDeltaCodec { - private static final double TRUNCATION_STEPS = 4096.0D; + private static final double TRUNCATION_STEPS = 4096.0; - private Vec3 base = Vec3.ZERO; + public Vec3 base = Vec3.ZERO; // Paper |