diff --git a/Plugins/CafeLibrary/Bfres/Animations/BfresSkeletalAnim.cs b/Plugins/CafeLibrary/Bfres/Animations/BfresSkeletalAnim.cs index f0e99af..ab8f6f9 100644 --- a/Plugins/CafeLibrary/Bfres/Animations/BfresSkeletalAnim.cs +++ b/Plugins/CafeLibrary/Bfres/Animations/BfresSkeletalAnim.cs @@ -370,7 +370,8 @@ STSkeleton IsSkeletonInAnimation(STSkeleton skeleton) foreach (var model in models) if (model.ModelData.Name != "Pupil") //MK8 ignore pupils list.Add(model.ModelData); - return list; + if (list.Count > 0) + return list; } //Lastly check for active render and if skeleton is visible/active @@ -381,7 +382,8 @@ STSkeleton IsSkeletonInAnimation(STSkeleton skeleton) if (file.IsVisible && model.IsVisible && model.ModelData.Name != "Pupil") //MK8 ignore pupils list.Add(model.ModelData); } - return list; + if (list.Count > 0) + return list; } return null; }