9
0
mirror of https://github.com/LeavesMC/Leaves.git synced 2025-12-23 08:59:31 +00:00

Update Paper

This commit is contained in:
violetc
2023-08-19 14:22:46 +08:00
parent dea08ac09f
commit bc4728cf1c
12 changed files with 33 additions and 33 deletions

View File

@@ -6,10 +6,10 @@ Subject: [PATCH] Optimize entity coordinate key
This patch is Powered by Pufferfish(https://github.com/pufferfish-gg/Pufferfish)
diff --git a/src/main/java/io/papermc/paper/util/MCUtil.java b/src/main/java/io/papermc/paper/util/MCUtil.java
index cb4379268b191d331c71be44642baac381ffaaf6..f5db4e41b9f3d90138076e8b30a81e4c22497136 100644
index c69088a2ec374b2d236fec61e267f42afa2967b1..da7ee46893d99a4abe6c3089c6651b8e1a453e82 100644
--- a/src/main/java/io/papermc/paper/util/MCUtil.java
+++ b/src/main/java/io/papermc/paper/util/MCUtil.java
@@ -211,7 +211,13 @@ public final class MCUtil {
@@ -215,7 +215,13 @@ public final class MCUtil {
}
public static long getCoordinateKey(final Entity entity) {
@@ -25,7 +25,7 @@ index cb4379268b191d331c71be44642baac381ffaaf6..f5db4e41b9f3d90138076e8b30a81e4c
public static long getCoordinateKey(final ChunkPos pair) {
diff --git a/src/main/java/net/minecraft/world/entity/Entity.java b/src/main/java/net/minecraft/world/entity/Entity.java
index 0d59e39b321f0fb4fdd927f5bf2eed3b70d72aaf..531046d494328dda8f0333470e18840f3391b8e6 100644
index 82cf724352396f949ebc60da9146514672b76e45..6200217b8cb13bc4c6b7b7b194215c7766626c61 100644
--- a/src/main/java/net/minecraft/world/entity/Entity.java
+++ b/src/main/java/net/minecraft/world/entity/Entity.java
@@ -306,7 +306,7 @@ public abstract class Entity implements Nameable, EntityAccess, CommandSource {