aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0928-Reduce-allocation-of-Vec3D-by-entity-tracker.patch
diff options
context:
space:
mode:
authorSpottedleaf <[email protected]>2024-07-17 11:08:28 -0700
committerSpottedleaf <[email protected]>2024-07-17 11:08:28 -0700
commit4efd24b336eaccb4bc1283a5b8f6dac447a3fd0b (patch)
tree44ab65d5fcd678aa868e5769bf0c3d3eb0fdbaad /patches/server/0928-Reduce-allocation-of-Vec3D-by-entity-tracker.patch
parent00b949f1bbbf444e2b5e7b8de7c9b14fbd2133c6 (diff)
downloadPaper-4efd24b336eaccb4bc1283a5b8f6dac447a3fd0b.tar.gz
Paper-4efd24b336eaccb4bc1283a5b8f6dac447a3fd0b.zip
Remove unused chunk system hooks in MCUtils
Diffstat (limited to 'patches/server/0928-Reduce-allocation-of-Vec3D-by-entity-tracker.patch')
-rw-r--r--patches/server/0928-Reduce-allocation-of-Vec3D-by-entity-tracker.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0928-Reduce-allocation-of-Vec3D-by-entity-tracker.patch b/patches/server/0928-Reduce-allocation-of-Vec3D-by-entity-tracker.patch
index 243b47d2f4..9cb4731764 100644
--- a/patches/server/0928-Reduce-allocation-of-Vec3D-by-entity-tracker.patch
+++ b/patches/server/0928-Reduce-allocation-of-Vec3D-by-entity-tracker.patch
@@ -18,10 +18,10 @@ index a043ac10834562d357ef0b5aded2e916e2a0d056..74276c368016fcc4dbf9579b2ecbadc9
@VisibleForTesting
static long encode(double value) {
diff --git a/src/main/java/net/minecraft/server/level/ChunkMap.java b/src/main/java/net/minecraft/server/level/ChunkMap.java
-index 12361438efd12e327c8f6c2c1b233f05075402f8..56ef427af5cdfa9b673089cabc43167012b343bc 100644
+index d4cc6d189cda03ea8e5d44af0608f914078f7e6e..7f287127faf1d3a6b4b0f77800964b327ca9123f 100644
--- a/src/main/java/net/minecraft/server/level/ChunkMap.java
+++ b/src/main/java/net/minecraft/server/level/ChunkMap.java
-@@ -1524,10 +1524,14 @@ public class ChunkMap extends ChunkStorage implements ChunkHolder.PlayerProvider
+@@ -1520,10 +1520,14 @@ public class ChunkMap extends ChunkStorage implements ChunkHolder.PlayerProvider
public void updatePlayer(ServerPlayer player) {
org.spigotmc.AsyncCatcher.catchOp("player tracker update"); // Spigot
if (player != this.entity) {