Skip to content

Commit 2af3b3f

Browse files
getting ready for release
1 parent d04ce09 commit 2af3b3f

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

ExportResoniteToJson/ExportResoniteToJson.cs

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public class ExportResoniteToJson : ResoniteMod
1616
{
1717
public override string Name => "ExportResoniteToJson";
1818
public override string Author => "CalamityLime";
19-
public override string Version => "2.1.2";
19+
public override string Version => "2.1.3";
2020
public override string Link => "https://github.com/LimeProgramming/ExportNeosToJson";
2121

2222

@@ -133,7 +133,6 @@ public override void OnEngineInit()
133133

134134

135135
// ---------- Patch the DataTreeDictionary Load function ----------
136-
137136
MethodInfo dtcLoadOrigional = AccessTools.DeclaredMethod(typeof(DataTreeConverter), nameof(DataTreeConverter.Load), new Type[]
138137
{
139138
typeof(string),
@@ -148,9 +147,9 @@ public override void OnEngineInit()
148147

149148
MethodInfo dtcLoadPrefix = AccessTools.DeclaredMethod(typeof(ExportResoniteToJson), nameof(ExportResoniteToJson.Load_Prefix));
150149
harmony.Patch(dtcLoadOrigional, prefix: new HarmonyMethod(dtcLoadPrefix));
150+
}
151151

152152

153-
}
154153

155154

156155
// ------------------------------------------------------------------------------------------ //
@@ -234,7 +233,10 @@ private static async Task<bool> Export7zbson(SavedGraph graph, string targetFile
234233
}
235234

236235

236+
237+
237238
// ------------------------------------------------------------------------------------------ //
239+
// Re-implement loading json files since resonite dropped that. This is an issue for Local storage mod since it does the same thing
238240

239241
public static bool IsSupportedFormat(ref bool __result, string file)
240242
{

0 commit comments

Comments
 (0)