diff --git a/Generated/Classes.cs b/Generated/Classes.cs index 44bdb6a..f42a02f 100644 --- a/Generated/Classes.cs +++ b/Generated/Classes.cs @@ -1,5 +1,5 @@ // Auto-generated list of creatable Roblox classes. -// Updated as of 0.492.0.4920395 +// Updated as of 0.493.0.4930373 using System; @@ -2633,6 +2633,7 @@ namespace RobloxFiles public class PathfindingModifier : Instance { public string ModifierId = ""; + public bool PassThrough; } public class PathfindingService : Instance @@ -2669,6 +2670,7 @@ namespace RobloxFiles IsService = true; } + public bool CustomPoliciesEnabled; public string DEPRECATED_SerializedEmulatedPolicyInfo = ""; public string EmulatedCountryCode = ""; public string EmulatedGameLocale = ""; diff --git a/Generated/Enums.cs b/Generated/Enums.cs index a6da0d5..876953d 100644 --- a/Generated/Enums.cs +++ b/Generated/Enums.cs @@ -1,5 +1,5 @@ // Auto-generated list of Roblox enums. -// Updated as of 0.492.0.4920395 +// Updated as of 0.493.0.4930373 namespace RobloxFiles.Enums { diff --git a/RobloxFileFormat.dll b/RobloxFileFormat.dll index c107b6a..c2116ec 100644 Binary files a/RobloxFileFormat.dll and b/RobloxFileFormat.dll differ diff --git a/Tree/Instance.cs b/Tree/Instance.cs index 3ff9509..4199f4e 100644 --- a/Tree/Instance.cs +++ b/Tree/Instance.cs @@ -79,6 +79,10 @@ namespace RobloxFiles { get { + if (Tags == null) + // ????? + return null; + if (Tags.Count == 0) return null; @@ -539,9 +543,7 @@ namespace RobloxFiles // Patch referents where applicable. foreach (var prop in refProps) { - var source = prop.Value as Instance; - - if (source == null) + if (!(prop.Value is Instance source)) continue; if (!mitosis.TryGetValue(source, out var copy))