diff --git a/CLUNL.Localization/CLUNL.Localization.csproj b/CLUNL.Localization/CLUNL.Localization.csproj index 63540a0..eadf73a 100644 --- a/CLUNL.Localization/CLUNL.Localization.csproj +++ b/CLUNL.Localization/CLUNL.Localization.csproj @@ -3,7 +3,7 @@ netstandard2.1 True - 0.0.9.0 + 0.0.10.0 https://github.com/creeperlv/CLUNL https://github.com/creeperlv/CLUNL diff --git a/CLUNL.Localization/LocalizedString.cs b/CLUNL.Localization/LocalizedString.cs index ff63753..ed0f64f 100644 --- a/CLUNL.Localization/LocalizedString.cs +++ b/CLUNL.Localization/LocalizedString.cs @@ -14,6 +14,15 @@ public class LocalizedString /// public object[] arguments; /// + /// Empty constructor for serialization purpose + /// + public LocalizedString() + { + arguments = new object[0]; + ID = ""; + Fallback = ""; + } + /// /// Initialize the string with LanguageID and fallback. /// ///