8000 [ci skip] Rebuild patches · PaperMC/Paper@3222985 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Commit 3222985

Browse files
committed
[ci skip] Rebuild patches
1 parent 1cfc96b commit 3222985

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

paper-server/patches/features/0016-Fix-entity-tracker-desync-when-new-players-are-added.patch

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ index 1463c31 F48D ba980ab0eb2174e3e891d1423a505e9dc..886340232b58afd59caa6df29e211589
6060
} else if (this.seenBy.remove(player.connection)) {
6161
this.serverEntity.removePairing(player);
6262
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
6464
--- a/net/minecraft/server/level/ServerEntity.java
6565
+++ b/net/minecraft/server/level/ServerEntity.java
6666
@@ -103,6 +103,13 @@ public class ServerEntity {
@@ -77,7 +77,7 @@ index 0005a1784ccaa00e5d6d67e7be98445150487982..257ecbcf7d463eefb951867a5426eaf2
7777
public void sendChanges() {
7878
// Paper start - optimise collisions
7979
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 {
8181
this.sendDirtyEntityData();
8282
}
8383

@@ -86,7 +86,7 @@ index 0005a1784ccaa00e5d6d67e7be98445150487982..257ecbcf7d463eefb951867a5426eaf2
8686
byte b = Mth.packDegrees(this.entity.getYRot());
8787
byte b1 = Mth.packDegrees(this.entity.getXRot());
8888
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 {
9090
long l1 = this.positionCodec.encodeY(vec3);
9191
long l2 = this.positionCodec.encodeZ(vec3);
9292
boolean flag5 = l < -32768L || l > 32767L || l1 < -32768L || l1 > 32767L || l2 < -32768L || l2 > 32767L;
@@ -95,7 +95,7 @@ index 0005a1784ccaa00e5d6d67e7be98445150487982..257ecbcf7d463eefb951867a5426eaf2
9595
this.wasOnGround = this.entity.onGround();
9696
this.teleportDelay = 0;
9797
packet = ClientboundEntityPositionSyncPacket.of(this.entity);
98-
@@ -236,6 +243,7 @@ public class ServerEntity {
98+
@@ -241,6 +248,7 @@ public class ServerEntity {
9999
}
100100

101101
this.entity.hasImpulse = false;

0 commit comments

Comments
 (0)
0