diff --git a/Generated/Classes.cs b/Generated/Classes.cs index a17b587..854419b 100644 --- a/Generated/Classes.cs +++ b/Generated/Classes.cs @@ -1,5 +1,5 @@ // Auto-generated list of creatable Roblox classes. -// Updated as of 0.487.1.426995 +// Updated as of 0.489.1.4890338 using System; @@ -903,6 +903,11 @@ namespace RobloxFiles { } + public class DataStoreOptions : Instance + { + public bool AllScopes; + } + public class DataStoreService : Instance { public DataStoreService() @@ -1148,11 +1153,6 @@ namespace RobloxFiles } } - public class GetDataStoreOptions : Instance - { - public bool AllScopes; - } - public class GroupService : Instance { public GroupService() @@ -2595,6 +2595,11 @@ namespace RobloxFiles public float ZOffset; } + public class PathfindingModifier : Instance + { + public string ModifierId = ""; + } + public class PathfindingService : Instance { public PathfindingService() diff --git a/RobloxFileFormat.dll b/RobloxFileFormat.dll index c9dde69..8fdb965 100644 Binary files a/RobloxFileFormat.dll and b/RobloxFileFormat.dll differ diff --git a/Tree/Instance.cs b/Tree/Instance.cs index cd3ed77..f805eda 100644 --- a/Tree/Instance.cs +++ b/Tree/Instance.cs @@ -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))