Remove walk animation reset because the stop() method doesn't exist in 1.21.1

This commit is contained in:
Moulberry committed 2024-11-18 23:39:06 +08:00
1 parent 4a1a719c92
commit f2a94b163f
1 file changed
+1 -1
@@ -399,7 +399,7 @@ public class ExportJob {
// Reset all walk animations & tick counts
for (Entity entity : minecraft.level.entitiesForRendering()) {
if (entity instanceof LivingEntity livingEntity) {
livingEntity.walkAnimation.stop();
// livingEntity.walkAnimation.stop(); // unsupported in 1.21.1
}
entity.tickCount = 0;
}