0.489.1.4890338
This commit is contained in:
@ -124,7 +124,7 @@ namespace RobloxFiles
|
||||
{
|
||||
if (Attributes.TryGetValue(key, out RbxAttribute attr))
|
||||
{
|
||||
if (attr.Value is T result)
|
||||
if (attr?.Value is T result)
|
||||
{
|
||||
value = result;
|
||||
return true;
|
||||
@ -152,6 +152,12 @@ namespace RobloxFiles
|
||||
if (key.StartsWith("RBX", StringComparison.InvariantCulture))
|
||||
return false;
|
||||
|
||||
if (value == null)
|
||||
{
|
||||
Attributes[key] = null;
|
||||
return true;
|
||||
}
|
||||
|
||||
Type type = value.GetType();
|
||||
|
||||
if (!RbxAttribute.SupportsType(type))
|
||||
|
Reference in New Issue
Block a user