@@ -40,7 +40,7 @@ index cb1be4947ea2d85c6dcdc7424a4b712dcce0a40e..01f7390f3fb2a423cec373a2bb5ccbee
4040 for (Entity entity : passengerEntity.getPassengers()) {
4141 this.tickPassenger(passengerEntity, entity, isActive); // Paper - EAR 2
4242diff --git a/net/minecraft/world/entity/Entity.java b/net/minecraft/world/entity/Entity.java
43- index fef583625899091b13439e0d459b7538c866d712..e84ff9d5a1b495170b503dece72f7766b347c2d0 100644
43+ index 3969d0a073a70de4e0cd6084e41d526cadd800d9..741e576e6429fc80f5aa41b846ae128701e95873 100644
4444--- a/net/minecraft/world/entity/Entity.java
4545+++ b/net/minecraft/world/entity/Entity.java
4646@@ -373,6 +373,7 @@ public abstract class Entity implements SyncedDataHolder, Nameable, EntityAccess
@@ -118,15 +118,15 @@ index fef583625899091b13439e0d459b7538c866d712..e84ff9d5a1b495170b503dece72f7766
118118 // CraftBukkit start
119119 public void postTick() {
120120 // No clean way to break out of ticking once the entity has been copied to a new world, so instead we move the portalling later in the tick cycle
121- @@ -2564 ,6 +2602 ,7 @@ public abstract class Entity implements SyncedDataHolder, Nameable, EntityAccess
121+ @@ -2579 ,6 +2617 ,7 @@ public abstract class Entity implements SyncedDataHolder, Nameable, EntityAccess
122122 if (this.maxAirTicks != this.getDefaultMaxAirSupply()) {
123123 output.putInt("Bukkit.MaxAirSupply", this.getMaxAirSupply());
124124 }
125125+ this.syncEntityAge(); // Leaf - Rewrite entity despawn time
126126 output.putInt("Spigot.ticksLived", this.totalEntityAge); // Paper
127127 // CraftBukkit end
128128 output.storeNullable("CustomName", ComponentSerialization.CODEC, this.getCustomName());
129- @@ -2721 ,7 +2760 ,7 @@ public abstract class Entity implements SyncedDataHolder, Nameable, EntityAccess
129+ @@ -2736 ,7 +2775 ,7 @@ public abstract class Entity implements SyncedDataHolder, Nameable, EntityAccess
130130
131131 // CraftBukkit start
132132 // Spigot start
@@ -135,7 +135,7 @@ index fef583625899091b13439e0d459b7538c866d712..e84ff9d5a1b495170b503dece72f7766
135135 this.totalEntityAge = input.getIntOr("Spigot.ticksLived", 0); // Paper
136136 }
137137 // Spigot end
138- @@ -5320 ,9 +5359 ,10 @@ public abstract class Entity implements SyncedDataHolder, Nameable, EntityAccess
138+ @@ -5335 ,9 +5374 ,10 @@ public abstract class Entity implements SyncedDataHolder, Nameable, EntityAccess
139139
140140 @Override
141141 public boolean shouldBeSaved() {
0 commit comments