diff --git a/RobloxFileFormat.dll b/RobloxFileFormat.dll index c2116ec..b4396b6 100644 Binary files a/RobloxFileFormat.dll and b/RobloxFileFormat.dll differ diff --git a/Tree/Instance.cs b/Tree/Instance.cs index 4199f4e..3530b20 100644 --- a/Tree/Instance.cs +++ b/Tree/Instance.cs @@ -668,11 +668,13 @@ namespace RobloxFiles fieldName = "Bevel Roundness"; PropertyType propType = PropertyType.Unknown; - - if (Property.Types.ContainsKey(fieldType)) - propType = Property.Types[fieldType]; - else if (fieldType.IsEnum) + + if (fieldType.IsEnum) propType = PropertyType.Enum; + else if (Property.Types.ContainsKey(fieldType)) + propType = Property.Types[fieldType]; + else if (typeof(Instance).IsAssignableFrom(fieldType)) + propType = PropertyType.Ref; if (propType != PropertyType.Unknown) {