diff --git a/ParadoxSaveParser.Lib/SaveParserEU4.cs b/ParadoxSaveParser.Lib/SaveParserEU4.cs index 7c5c27f..4c6759c 100644 --- a/ParadoxSaveParser.Lib/SaveParserEU4.cs +++ b/ParadoxSaveParser.Lib/SaveParserEU4.cs @@ -332,8 +332,6 @@ public class SaveParserEU4 public Dictionary> Parse() { var root = ParseDict(); - if (root.Count == 0) - throw new Exception("Save file is empty"); return root; } } \ No newline at end of file diff --git a/ParadoxSaveParser.Lib/SearchExpression.cs b/ParadoxSaveParser.Lib/SearchExpression.cs index 8e59a3f..0c45528 100644 --- a/ParadoxSaveParser.Lib/SearchExpression.cs +++ b/ParadoxSaveParser.Lib/SearchExpression.cs @@ -24,8 +24,6 @@ public class SearchExpression : ISearchExpression public bool DoesMatch(SearchArgs args) { - if (args.key is "c" or "d" or "e") - Console.WriteLine("UwU"); int index = args.currentDepth - _expressionDepth; if (index < 0 || index >= _compiledExpression.Count) return true;