diff --git a/FreeMote.Psb/Types/M2Types.cs b/FreeMote.Psb/Types/M2Types.cs index b375578..13a22a6 100644 --- a/FreeMote.Psb/Types/M2Types.cs +++ b/FreeMote.Psb/Types/M2Types.cs @@ -13,7 +13,7 @@ class SprBlockType : BaseImageType, IPsbType public bool IsThisType(PSB psb) { - if (psb.Objects.All(kv => kv.Value is PsbDictionary {Count: 3} dic && dic.ContainsKey("w") && + if (psb.Objects != null && psb.Objects.All(kv => kv.Value is PsbDictionary {Count: 3} dic && dic.ContainsKey("w") && dic.ContainsKey("h") && dic.ContainsKey("image"))) return true; diff --git a/FreeMote.Tools.PsBuild/Properties/AssemblyInfo.cs b/FreeMote.Tools.PsBuild/Properties/AssemblyInfo.cs index 0aefbfb..ebbc208 100644 --- a/FreeMote.Tools.PsBuild/Properties/AssemblyInfo.cs +++ b/FreeMote.Tools.PsBuild/Properties/AssemblyInfo.cs @@ -14,5 +14,5 @@ [assembly: Guid("d877dbdb-41d7-4c6f-9a46-957cecdaefa8")] -[assembly: AssemblyVersion("4.0.1.0")] -[assembly: AssemblyFileVersion("4.0.1.0")] +[assembly: AssemblyVersion("4.0.2.0")] +[assembly: AssemblyFileVersion("4.0.2.0")] diff --git a/FreeMote.Tools.PsbDecompile/Properties/AssemblyInfo.cs b/FreeMote.Tools.PsbDecompile/Properties/AssemblyInfo.cs index e7a51c3..0cd5e53 100644 --- a/FreeMote.Tools.PsbDecompile/Properties/AssemblyInfo.cs +++ b/FreeMote.Tools.PsbDecompile/Properties/AssemblyInfo.cs @@ -14,5 +14,5 @@ [assembly: Guid("943fe440-32bb-4caf-a1da-5f38de7f9b92")] -[assembly: AssemblyVersion("4.0.1.0")] -[assembly: AssemblyFileVersion("4.0.1.0")] +[assembly: AssemblyVersion("4.0.2.0")] +[assembly: AssemblyFileVersion("4.0.2.0")]