mirror of
https://github.com/darksaid98/Flashback.git
synced 2026-12-02 22:17:10 +00:00
Remove walk animation reset because the stop() method doesn't exist in 1.21.1
This commit is contained in:
1 parent
4a1a719c92
commit
f2a94b163f
1 file changed
+1
-1
@@ -399,7 +399,7 @@ public class ExportJob {
|
|||||||
// Reset all walk animations & tick counts
|
// Reset all walk animations & tick counts
|
||||||
for (Entity entity : minecraft.level.entitiesForRendering()) {
|
for (Entity entity : minecraft.level.entitiesForRendering()) {
|
||||||
if (entity instanceof LivingEntity livingEntity) {
|
if (entity instanceof LivingEntity livingEntity) {
|
||||||
livingEntity.walkAnimation.stop();
|
// livingEntity.walkAnimation.stop(); // unsupported in 1.21.1
|
||||||
}
|
}
|
||||||
entity.tickCount = 0;
|
entity.tickCount = 0;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user