From 99e83a57e3da88ccbfc39a3e82d49de78d17bbfc Mon Sep 17 00:00:00 2001 From: Ceikry Date: Sat, 9 Sep 2023 01:42:39 +0000 Subject: [PATCH] Fixed Jatizso ferry regression --- Server/src/main/core/api/ContentAPI.kt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {