mirror of
https://github.com/Creators-of-Create/Create.git
synced 2024-12-15 01:23:41 +01:00
Improve LerpedFloat#settled()
This commit is contained in:
parent
49166f8dab
commit
3d3ef68900
2 changed files with 2 additions and 2 deletions
|
@ -95,7 +95,7 @@ public class LerpedFloat {
|
|||
}
|
||||
|
||||
public boolean settled() {
|
||||
return Mth.equal((double) previousValue, value);
|
||||
return Mth.equal((double) previousValue, value) && (chaseFunction == null || Mth.equal((double) value, chaseTarget));
|
||||
}
|
||||
|
||||
public float getChaseTarget() {
|
||||
|
|
Loading…
Reference in a new issue