Move UI Components from Component Package to UI Package

This commit is contained in:
copecone committed 2026-05-28 12:03:24 +09:00
1 parent 2ea5deaba1
commit ef7f4c49a8
4 files changed
+14 -12

No files matched your search

+9 -10
View File
@@ -56,18 +56,17 @@ namespace ADOFAIRenderer.Patch.ClassPatch
var chainSequenceField = traverse.Field("chainSequence");
var chainSequenceObj = chainSequenceField.GetValue();
if (chainSequenceObj == null) return;
try
{
try
{
var killMethod = chainSequenceObj.GetType().GetMethod("Kill", new[] { typeof(bool) });
killMethod?.Invoke(chainSequenceObj, new object[] { false });
}
catch
{
// Ignore reflection errors
}
chainSequenceField.SetValue(null);
var killMethod = chainSequenceObj.GetType().GetMethod("Kill", new[] { typeof(bool) });
killMethod?.Invoke(chainSequenceObj, new object[] { false });
}
catch
{
// Ignore reflection errors
}
chainSequenceField.SetValue(null);
}
}
}