diff options
author | Spottedleaf <[email protected]> | 2024-07-11 09:23:56 -0700 |
---|---|---|
committer | Spottedleaf <[email protected]> | 2024-07-11 09:23:56 -0700 |
commit | 7bd22b1835af2611c5ad597aef6470b1ece9b547 (patch) | |
tree | e036d517276d70be0bdf33268d6790109ab92993 /patches/server/1004-Add-Alternate-Current-redstone-implementation.patch | |
parent | f250ec0a2ef7c5833084c6ee53281cb33d4f17c9 (diff) | |
download | Paper-7bd22b1835af2611c5ad597aef6470b1ece9b547.tar.gz Paper-7bd22b1835af2611c5ad597aef6470b1ece9b547.zip |
Optimise entity tracker
Patch is ported from Folia
Diffstat (limited to 'patches/server/1004-Add-Alternate-Current-redstone-implementation.patch')
-rw-r--r-- | patches/server/1004-Add-Alternate-Current-redstone-implementation.patch | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/1004-Add-Alternate-Current-redstone-implementation.patch b/patches/server/1004-Add-Alternate-Current-redstone-implementation.patch index 261590166f..6554a372c9 100644 --- a/patches/server/1004-Add-Alternate-Current-redstone-implementation.patch +++ b/patches/server/1004-Add-Alternate-Current-redstone-implementation.patch @@ -2009,7 +2009,7 @@ index 0000000000000000000000000000000000000000..33cd90c30c22200a4e1ae64f40a0bf78 + } +} diff --git a/src/main/java/net/minecraft/server/level/ServerLevel.java b/src/main/java/net/minecraft/server/level/ServerLevel.java -index 8daa490817367391cac5c9852e0755b280fb9054..2d97ca1f3c625c0206d35b785c57d9587924ed0a 100644 +index 8a3f58e6dfdb0af767be334087748f93c06ec797..7ba34da235ea536b929e1c8bc2cc39e48b33f5aa 100644 --- a/src/main/java/net/minecraft/server/level/ServerLevel.java +++ b/src/main/java/net/minecraft/server/level/ServerLevel.java @@ -228,6 +228,7 @@ public class ServerLevel extends Level implements WorldGenLevel, ca.spottedleaf. @@ -2020,7 +2020,7 @@ index 8daa490817367391cac5c9852e0755b280fb9054..2d97ca1f3c625c0206d35b785c57d958 public LevelChunk getChunkIfLoaded(int x, int z) { return this.chunkSource.getChunkAtIfLoadedImmediately(x, z); // Paper - Use getChunkIfLoadedImmediately -@@ -2423,6 +2424,13 @@ public class ServerLevel extends Level implements WorldGenLevel, ca.spottedleaf. +@@ -2429,6 +2430,13 @@ public class ServerLevel extends Level implements WorldGenLevel, ca.spottedleaf. return crashreportsystemdetails; } |