mirror of
https://github.com/D1GQ/BetterAmongUs.git
synced 2026-11-19 13:17:17 +00:00
Return string empty on metadata missing
This commit is contained in:
1 parent
d351653f56
commit
baf4d541ff
1 file changed
+1
-1
+1
-1
@@ -23,6 +23,6 @@ internal static class ModInfo
|
||||
.GetCustomAttributes<AssemblyMetadataAttribute>()
|
||||
.FirstOrDefault(a => a.Key == key);
|
||||
|
||||
return attribute?.Value ?? "unknown";
|
||||
return attribute?.Value ?? string.Empty;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user