Skip to content

Commit 266ffbd

Browse files
committed
remove unused field in DogAnimationManager
1 parent abf6dec commit 266ffbd

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/main/java/doggytalents/common/entity/anim/DogAnimationManager.java

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ public class DogAnimationManager {
1717
//Client
1818
public final DogAnimationState animationState
1919
= new DogAnimationState();
20-
public boolean needRefresh = false;
2120

2221
//Common
2322
private boolean started = false;
@@ -47,8 +46,6 @@ public void onAnimationChange(DogAnimation anim) {
4746
started = false;
4847
looping = false;
4948
animationState.stop();
50-
if (dog.level().isClientSide)
51-
this.needRefresh = true;
5249
}
5350
}
5451

0 commit comments

Comments
 (0)