Port collision optimisation patch from Moonrise

Drop random ticking optimisation for now
This commit is contained in:
Spottedleaf
2024-07-11 12:09:15 -07:00
parent bde31b3ce4
commit 1237931f88
4 changed files with 5545 additions and 475 deletions

View File

@@ -75,8 +75,8 @@ index 0000000000000000000000000000000000000000..00000000000000000000000000000000
+ // Paper end - fix desync when a player is added to the tracker
+
public void sendChanges() {
List<Entity> list = this.entity.getPassengers();
// Paper start - optimise collisions
if (((ca.spottedleaf.moonrise.patches.chunk_system.entity.ChunkSystemEntity)this.entity).moonrise$isHardColliding()) {
@@ -0,0 +0,0 @@ public class ServerEntity {
}
}