diff --git a/Server/src/main/core/api/ContentAPI.kt b/Server/src/main/core/api/ContentAPI.kt index c45eb392b..c9a6daef5 100644 --- a/Server/src/main/core/api/ContentAPI.kt +++ b/Server/src/main/core/api/ContentAPI.kt @@ -432,7 +432,7 @@ fun resetAnimator(player: Player) { * @return the number of ticks the given animation lasts for */ fun animationDuration(animation: Animation): Int { - return cyclesToTicks(animation.definition.cycles) + return animation.definition.durationTicks } fun animationCycles (animation: Int) : Int {