We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0631e1 commit ed00ec0Copy full SHA for ed00ec0
ModLocalizer/Dumper.cs
@@ -290,7 +290,12 @@ private void DumpNpcs()
290
291
var value = ins.Operand as string;
292
293
- ins = inst[index - 1];
+ // try find which button is here
294
+ // however, not every mod follows this rule
295
+
296
+ ins = inst.ElementAtOrDefault(index - 1);
297
+ if (ins == null)
298
+ continue;
299
300
if (ins.OpCode.Equals(OpCodes.Ldarg_1))
301
npc.ShopButton1 = value;
ModLocalizer/Properties/AssemblyInfo.cs
@@ -14,5 +14,5 @@
14
15
[assembly: Guid("613f981d-c5dd-43d1-b0ff-057169a647c4")]
16
17
-[assembly: AssemblyVersion("0.13.0.0")]
18
-[assembly: AssemblyFileVersion("0.13.0.0")]
+[assembly: AssemblyVersion("0.13.1.0")]
+[assembly: AssemblyFileVersion("0.13.1.0")]
0 commit comments