aboutsummaryrefslogtreecommitdiffhomepage
path: root/patches/server/0995-Improve-Maps-in-item-frames-performance-and-bug-fixe.patch
diff options
context:
space:
mode:
authorSpottedleaf <[email protected]>2024-07-15 11:11:04 -0700
committerSpottedleaf <[email protected]>2024-07-15 11:13:08 -0700
commit3b45454190b8d8842c2e8804f8535078f2540864 (patch)
treeddcef342cdb253a5017858e095bca8307429e6f3 /patches/server/0995-Improve-Maps-in-item-frames-performance-and-bug-fixe.patch
parent8b230185755c54a85194d85461f0a4262185c10c (diff)
downloadPaper-3b45454190b8d8842c2e8804f8535078f2540864.tar.gz
Paper-3b45454190b8d8842c2e8804f8535078f2540864.zip
Port random ticking optimisation from Moonrise
Diffstat (limited to 'patches/server/0995-Improve-Maps-in-item-frames-performance-and-bug-fixe.patch')
-rw-r--r--patches/server/0995-Improve-Maps-in-item-frames-performance-and-bug-fixe.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/patches/server/0995-Improve-Maps-in-item-frames-performance-and-bug-fixe.patch b/patches/server/0995-Improve-Maps-in-item-frames-performance-and-bug-fixe.patch
index 5fac9b6575..12aebd4994 100644
--- a/patches/server/0995-Improve-Maps-in-item-frames-performance-and-bug-fixe.patch
+++ b/patches/server/0995-Improve-Maps-in-item-frames-performance-and-bug-fixe.patch
@@ -13,10 +13,10 @@ custom renderers are in use, defaulting to the much simpler Vanilla system.
Additionally, numerous issues to player position tracking on maps has been fixed.
diff --git a/src/main/java/net/minecraft/server/level/ServerLevel.java b/src/main/java/net/minecraft/server/level/ServerLevel.java
-index e5c44d2b02848aca5dcfc86006ab688598244f16..eee9aa0d82c7446f3d32a9655abceb5279ea5226 100644
+index e90199531c6c2975644e1223502bcecb4469220f..aa5c2ccf2a49d0f29c17babcf853b750f0b37a4f 100644
--- a/src/main/java/net/minecraft/server/level/ServerLevel.java
+++ b/src/main/java/net/minecraft/server/level/ServerLevel.java
-@@ -2498,6 +2498,7 @@ public class ServerLevel extends Level implements WorldGenLevel, ca.spottedleaf.
+@@ -2518,6 +2518,7 @@ public class ServerLevel extends Level implements WorldGenLevel, ca.spottedleaf.
{
if ( iter.next().player == entity )
{