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

Update Paper

This commit is contained in:
violetc
2023-12-06 00:32:26 +08:00
parent e8203ab40d
commit 374d746d8d
16 changed files with 45 additions and 45 deletions

View File

@@ -6,7 +6,7 @@ Subject: [PATCH] Skip entity move if movement is zero
This patch is Powered by Gale(https://github.com/GaleMC/Gale)
diff --git a/src/main/java/net/minecraft/world/entity/Entity.java b/src/main/java/net/minecraft/world/entity/Entity.java
index 4fdacff42533daa0cd4eabc25b5f30cbc9bbbfb4..f0ccd174fb7fa56ab3cd387d6680e8c5e5ecb5c3 100644
index b0056c266ef358b4784b6ce4539806810e1904b9..a88e7d5fae43abb8ee5d3111d53100e27cd11350 100644
--- a/src/main/java/net/minecraft/world/entity/Entity.java
+++ b/src/main/java/net/minecraft/world/entity/Entity.java
@@ -314,6 +314,7 @@ public abstract class Entity implements Nameable, EntityAccess, CommandSource {
@@ -31,7 +31,7 @@ index 4fdacff42533daa0cd4eabc25b5f30cbc9bbbfb4..f0ccd174fb7fa56ab3cd387d6680e8c5
// Paper start - detailed watchdog information
io.papermc.paper.util.TickThread.ensureTickThread("Cannot move an entity off-main");
synchronized (this.posLock) {
@@ -4021,6 +4029,7 @@ public abstract class Entity implements Nameable, EntityAccess, CommandSource {
@@ -4047,6 +4055,7 @@ public abstract class Entity implements Nameable, EntityAccess, CommandSource {
}
public final void setBoundingBox(AABB boundingBox) {