Skip to content

Commit

Permalink
0.1.5
Browse files Browse the repository at this point in the history
  • Loading branch information
amazingalek committed Dec 20, 2019
1 parent 947d56a commit 2079bb3
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions OWML.Events/HarmonyHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ public void EmptyMethod<T>(string methodName)

public void Transpile<T>(string methodName, Type patchType, string patchMethodName)
{
var patchMethod = patchType.GetMethod(patchMethodName);
var patchMethod = patchType.GetAnyMethod(patchMethodName);
if (patchMethod == null)
{
_logger.Log("patchMethod is null");
Expand All @@ -57,7 +57,7 @@ public void Transpile<T>(string methodName, Type patchType, string patchMethodNa
Patch<T>(methodName, null, null, patchMethod);
}

public void Patch<T>(string methodName, MethodInfo prefix, MethodInfo postfix, MethodInfo transpiler)
private void Patch<T>(string methodName, MethodInfo prefix, MethodInfo postfix, MethodInfo transpiler)
{
var targetType = typeof(T);
_logger.Log("Trying to patch " + targetType.Name);
Expand Down
2 changes: 1 addition & 1 deletion OWML.Launcher/App.cs
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ namespace OWML.Launcher
{
public class App
{
private const string OWMLVersion = "0.1.4";
private const string OWMLVersion = "0.1.5";

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

Expand Down
2 changes: 1 addition & 1 deletion OWML.SampleMods/OWML.EnableDebugMode/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"name": "EnableDebugMode",
"uniqueName": "Alek.EnableDebugMode",
"version": "0.1",
"owmlVersion": "0.1.4",
"owmlVersion": "0.1.5",
"enabled": true
}
2 changes: 1 addition & 1 deletion OWML.SampleMods/OWML.TestMod/manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,6 @@
"name": "TestMod",
"uniqueName": "Alek.TestMod",
"version": "0.1",
"owmlVersion": "0.1.4",
"owmlVersion": "0.1.5",
"enabled": false
}
2 changes: 1 addition & 1 deletion Readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ Add a manifest file called manifest.json. Example:
"name": "EnableDebugMode",
"uniqueName": "Alek.EnableDebugMode",
"version": "0.1",
"owmlVersion": "0.1.4",
"owmlVersion": "0.1.5",
"enabled": true
}
~~~~
Expand Down

0 comments on commit 2079bb3

Please sign in to comment.