mirror of
https://github.com/PaperMC/Paper.git
synced 2025-07-26 09:42:06 -07:00
[ci skip] Rebuild patches
This commit is contained in:
@@ -60,7 +60,7 @@ index 1463c31ba980ab0eb2174e3e891d1423a505e9dc..886340232b58afd59caa6df29e211589
|
|||||||
} else if (this.seenBy.remove(player.connection)) {
|
} else if (this.seenBy.remove(player.connection)) {
|
||||||
this.serverEntity.removePairing(player);
|
this.serverEntity.removePairing(player);
|
||||||
diff --git a/net/minecraft/server/level/ServerEntity.java b/net/minecraft/server/level/ServerEntity.java
|
diff --git a/net/minecraft/server/level/ServerEntity.java b/net/minecraft/server/level/ServerEntity.java
|
||||||
index 0005a1784ccaa00e5d6d67e7be98445150487982..257ecbcf7d463eefb951867a5426eaf24e356305 100644
|
index a1ae77b70f69852d9e4332bf1cb3409c33b21de0..b118e91f1e0b5a8b8c0b2a4a32faabc5a34a5954 100644
|
||||||
--- a/net/minecraft/server/level/ServerEntity.java
|
--- a/net/minecraft/server/level/ServerEntity.java
|
||||||
+++ b/net/minecraft/server/level/ServerEntity.java
|
+++ b/net/minecraft/server/level/ServerEntity.java
|
||||||
@@ -103,6 +103,13 @@ public class ServerEntity {
|
@@ -103,6 +103,13 @@ public class ServerEntity {
|
||||||
@@ -77,7 +77,7 @@ index 0005a1784ccaa00e5d6d67e7be98445150487982..257ecbcf7d463eefb951867a5426eaf2
|
|||||||
public void sendChanges() {
|
public void sendChanges() {
|
||||||
// Paper start - optimise collisions
|
// Paper start - optimise collisions
|
||||||
if (((ca.spottedleaf.moonrise.patches.chunk_system.entity.ChunkSystemEntity)this.entity).moonrise$isHardColliding()) {
|
if (((ca.spottedleaf.moonrise.patches.chunk_system.entity.ChunkSystemEntity)this.entity).moonrise$isHardColliding()) {
|
||||||
@@ -136,7 +143,7 @@ public class ServerEntity {
|
@@ -141,7 +148,7 @@ public class ServerEntity {
|
||||||
this.sendDirtyEntityData();
|
this.sendDirtyEntityData();
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -86,7 +86,7 @@ index 0005a1784ccaa00e5d6d67e7be98445150487982..257ecbcf7d463eefb951867a5426eaf2
|
|||||||
byte b = Mth.packDegrees(this.entity.getYRot());
|
byte b = Mth.packDegrees(this.entity.getYRot());
|
||||||
byte b1 = Mth.packDegrees(this.entity.getXRot());
|
byte b1 = Mth.packDegrees(this.entity.getXRot());
|
||||||
boolean flag = Math.abs(b - this.lastSentYRot) >= 1 || Math.abs(b1 - this.lastSentXRot) >= 1;
|
boolean flag = Math.abs(b - this.lastSentYRot) >= 1 || Math.abs(b1 - this.lastSentXRot) >= 1;
|
||||||
@@ -171,7 +178,7 @@ public class ServerEntity {
|
@@ -176,7 +183,7 @@ public class ServerEntity {
|
||||||
long l1 = this.positionCodec.encodeY(vec3);
|
long l1 = this.positionCodec.encodeY(vec3);
|
||||||
long l2 = this.positionCodec.encodeZ(vec3);
|
long l2 = this.positionCodec.encodeZ(vec3);
|
||||||
boolean flag5 = l < -32768L || l > 32767L || l1 < -32768L || l1 > 32767L || l2 < -32768L || l2 > 32767L;
|
boolean flag5 = l < -32768L || l > 32767L || l1 < -32768L || l1 > 32767L || l2 < -32768L || l2 > 32767L;
|
||||||
@@ -95,7 +95,7 @@ index 0005a1784ccaa00e5d6d67e7be98445150487982..257ecbcf7d463eefb951867a5426eaf2
|
|||||||
this.wasOnGround = this.entity.onGround();
|
this.wasOnGround = this.entity.onGround();
|
||||||
this.teleportDelay = 0;
|
this.teleportDelay = 0;
|
||||||
packet = ClientboundEntityPositionSyncPacket.of(this.entity);
|
packet = ClientboundEntityPositionSyncPacket.of(this.entity);
|
||||||
@@ -236,6 +243,7 @@ public class ServerEntity {
|
@@ -241,6 +248,7 @@ public class ServerEntity {
|
||||||
}
|
}
|
||||||
|
|
||||||
this.entity.hasImpulse = false;
|
this.entity.hasImpulse = false;
|
||||||
|
Reference in New Issue
Block a user