fix more idiotic mod things
This commit is contained in:
@@ -36,6 +36,8 @@ public sealed class XivDataAnalyzer
|
||||
int i = 0;
|
||||
Dictionary<string, List<ushort>> outputIndices = new();
|
||||
while (*(resHandles + i) != null)
|
||||
{
|
||||
try
|
||||
{
|
||||
var handle = *(resHandles + i);
|
||||
var curBones = handle->BoneCount;
|
||||
@@ -43,17 +45,17 @@ public sealed class XivDataAnalyzer
|
||||
outputIndices[skeletonName] = new();
|
||||
for (ushort boneIdx = 0; boneIdx < curBones; boneIdx++)
|
||||
{
|
||||
try
|
||||
{
|
||||
|
||||
var boneName = handle->HavokSkeleton->Bones[boneIdx].Name.String;
|
||||
if (boneName == null) continue;
|
||||
outputIndices[skeletonName].Add(boneIdx);
|
||||
|
||||
}
|
||||
}
|
||||
catch
|
||||
{
|
||||
_logger.LogTrace("Could not get bone for {skellyname}:{idx}", skeletonName, boneIdx);
|
||||
}
|
||||
}
|
||||
i++;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user