@@ -60,7 +60,7 @@ index 1463c31
F48D
ba980ab0eb2174e3e891d1423a505e9dc..886340232b58afd59caa6df29e211589
60
60
} else if (this.seenBy.remove(player.connection)) {
61
61
this.serverEntity.removePairing(player);
62
62
diff --git a/net/minecraft/server/level/ServerEntity.java b/net/minecraft/server/level/ServerEntity.java
63
- index 0005a1784ccaa00e5d6d67e7be98445150487982..257ecbcf7d463eefb951867a5426eaf24e356305 100644
63
+ index a1ae77b70f69852d9e4332bf1cb3409c33b21de0..b118e91f1e0b5a8b8c0b2a4a32faabc5a34a5954 100644
64
64
--- a/net/minecraft/server/level/ServerEntity.java
65
65
+++ b/net/minecraft/server/level/ServerEntity.java
66
66
@@ -103,6 +103,13 @@ public class ServerEntity {
@@ -77,7 +77,7 @@ index 0005a1784ccaa00e5d6d67e7be98445150487982..257ecbcf7d463eefb951867a5426eaf2
77
77
public void sendChanges() {
78
78
// Paper start - optimise collisions
79
79
if (((ca.spottedleaf.moonrise.patches.chunk_system.entity.ChunkSystemEntity)this.entity).moonrise$isHardColliding()) {
80
- @@ -136 ,7 +143 ,7 @@ public class ServerEntity {
80
+ @@ -141 ,7 +148 ,7 @@ public class ServerEntity {
81
81
this.sendDirtyEntityData();
82
82
}
83
83
@@ -86,7 +86,7 @@ index 0005a1784ccaa00e5d6d67e7be98445150487982..257ecbcf7d463eefb951867a5426eaf2
86
86
byte b = Mth.packDegrees(this.entity.getYRot());
87
87
byte b1 = Mth.packDegrees(this.entity.getXRot());
88
88
boolean flag = Math.abs(b - this.lastSentYRot) >= 1 || Math.abs(b1 - this.lastSentXRot) >= 1;
89
- @@ -171 ,7 +178 ,7 @@ public class ServerEntity {
89
+ @@ -176 ,7 +183 ,7 @@ public class ServerEntity {
90
90
long l1 = this.positionCodec.encodeY(vec3);
91
91
long l2 = this.positionCodec.encodeZ(vec3);
92
92
boolean flag5 = l < -32768L || l > 32767L || l1 < -32768L || l1 > 32767L || l2 < -32768L || l2 > 32767L;
@@ -95,7 +95,7 @@ index 0005a1784ccaa00e5d6d67e7be98445150487982..257ecbcf7d463eefb951867a5426eaf2
95
95
this.wasOnGround = this.entity.onGround();
96
96
this.teleportDelay = 0;
97
97
packet = ClientboundEntityPositionSyncPacket.of(this.entity);
98
- @@ -236 ,6 +243 ,7 @@ public class ServerEntity {
98
+ @@ -241 ,6 +248 ,7 @@ public class ServerEntity {
99
99
}
100
100
101
101
this.entity.hasImpulse = false;
0 commit comments