Skip to content

Commit 2079bb3

Browse files
committed
0.1.5
1 parent 947d56a commit 2079bb3

File tree

5 files changed

+6
-6
lines changed

5 files changed

+6
-6
lines changed

OWML.Events/HarmonyHelper.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public void EmptyMethod<T>(string methodName)
4747

4848
public void Transpile<T>(string methodName, Type patchType, string patchMethodName)
4949
{
50-
var patchMethod = patchType.GetMethod(patchMethodName);
50+
var patchMethod = patchType.GetAnyMethod(patchMethodName);
5151
if (patchMethod == null)
5252
{
5353
_logger.Log("patchMethod is null");
@@ -57,7 +57,7 @@ public void Transpile<T>(string methodName, Type patchType, string patchMethodNa
5757
Patch<T>(methodName, null, null, patchMethod);
5858
}
5959

60-
public void Patch<T>(string methodName, MethodInfo prefix, MethodInfo postfix, MethodInfo transpiler)
60+
private void Patch<T>(string methodName, MethodInfo prefix, MethodInfo postfix, MethodInfo transpiler)
6161
{
6262
var targetType = typeof(T);
6363
_logger.Log("Trying to patch " + targetType.Name);

OWML.Launcher/App.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ namespace OWML.Launcher
1111
{
1212
public class App
1313
{
14-
private const string OWMLVersion = "0.1.4";
14+
private const string OWMLVersion = "0.1.5";
1515

1616
private readonly string[] _filesToCopy = { "UnityEngine.CoreModule.dll", "Assembly-CSharp.dll" };
1717

OWML.SampleMods/OWML.EnableDebugMode/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
"name": "EnableDebugMode",
55
"uniqueName": "Alek.EnableDebugMode",
66
"version": "0.1",
7-
"owmlVersion": "0.1.4",
7+
"owmlVersion": "0.1.5",
88
"enabled": true
99
}

OWML.SampleMods/OWML.TestMod/manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,6 @@
44
"name": "TestMod",
55
"uniqueName": "Alek.TestMod",
66
"version": "0.1",
7-
"owmlVersion": "0.1.4",
7+
"owmlVersion": "0.1.5",
88
"enabled": false
99
}

Readme.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ Add a manifest file called manifest.json. Example:
138138
"name": "EnableDebugMode",
139139
"uniqueName": "Alek.EnableDebugMode",
140140
"version": "0.1",
141-
"owmlVersion": "0.1.4",
141+
"owmlVersion": "0.1.5",
142142
"enabled": true
143143
}
144144
~~~~

0 commit comments

Comments
 (0)