mirror of
https://github.com/LeavesMC/Leaves.git
synced 2025-12-24 01:19:19 +00:00
Update Paper
This commit is contained in:
@@ -6,10 +6,10 @@ Subject: [PATCH] Dont send useless entity packets
|
||||
This patch is Powered by Purpur(https://github.com/PurpurMC/Purpur)
|
||||
|
||||
diff --git a/src/main/java/net/minecraft/server/level/ServerEntity.java b/src/main/java/net/minecraft/server/level/ServerEntity.java
|
||||
index 1d849ce4e2c85f149af25318b8ffb6dcef6c6788..0c6ee6a22768d3cdd9ddad1c6fbf9bdffd8b4257 100644
|
||||
index 8ea2f24695f5dad55e21f238b69442513e7a90c6..0846e11c82295ccf93683f877962ec7804dad677 100644
|
||||
--- a/src/main/java/net/minecraft/server/level/ServerEntity.java
|
||||
+++ b/src/main/java/net/minecraft/server/level/ServerEntity.java
|
||||
@@ -200,6 +200,11 @@ public class ServerEntity {
|
||||
@@ -212,6 +212,11 @@ public class ServerEntity {
|
||||
packet1 = new ClientboundTeleportEntityPacket(this.entity);
|
||||
flag4 = true;
|
||||
flag5 = true;
|
||||
@@ -21,7 +21,7 @@ index 1d849ce4e2c85f149af25318b8ffb6dcef6c6788..0c6ee6a22768d3cdd9ddad1c6fbf9bdf
|
||||
}
|
||||
|
||||
if ((this.trackDelta || this.entity.hasImpulse || this.entity instanceof LivingEntity && ((LivingEntity) this.entity).isFallFlying()) && this.tickCount > 0) {
|
||||
@@ -281,6 +286,21 @@ public class ServerEntity {
|
||||
@@ -294,6 +299,21 @@ public class ServerEntity {
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user