Skip to content

Commit

Permalink
Remove deprecated method
Browse files Browse the repository at this point in the history
  • Loading branch information
Witixin1512 committed Jan 31, 2024
1 parent e0bedb6 commit 2ad4042
Showing 1 changed file with 1 addition and 10 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -274,20 +274,11 @@ public void stop() {
this.animationState = State.STOPPED;
}

/**
* Overrides the animation transition time for the controller<br>
* Deprecated, use {@link AnimationController#transitionLength(int)}
*/
@Deprecated(forRemoval = true)
public void setTransitionLength(int ticks) {
this.transitionLength = ticks;
}

/**
* Overrides the animation transition time for the controller
*/
public AnimationController<T> transitionLength(int ticks) {
setTransitionLength(ticks);
this.transitionLength = ticks;

return this;
}
Expand Down

0 comments on commit 2ad4042

Please sign in to comment.