mirror of
https://github.com/All-Of-Us-Mods/MiraAPI.git
synced 2026-11-19 13:17:10 +00:00
helpful debug message
This commit is contained in:
1 file changed
+1
-1
@@ -277,7 +277,7 @@ public static class ModdedOptionsManager
|
||||
if (!propType.IsGenericType || propType.GetGenericTypeDefinition() != typeof(ModdedArray<>))
|
||||
{
|
||||
var typeName = propType.IsGenericType ? propType.GetGenericArguments()[0].Name : "T";
|
||||
Error($"Please use ModdedArray<{typeName}> for modded option lists.");
|
||||
Error($"Please use ModdedArray<{typeName}> for modded option lists: {property.Name}");
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user