Skip to content

Commit

Permalink
fixed duplicate detour
Browse files Browse the repository at this point in the history
  • Loading branch information
Skullywag committed Apr 19, 2016
1 parent 7f348ee commit 140d6b0
Show file tree
Hide file tree
Showing 7 changed files with 0 additions and 1 deletion.
Binary file modified Assemblies/ReclaimFabric.dll
Binary file not shown.
Binary file modified Source/.vs/ReclaimFabric/v14/.suo
Binary file not shown.
1 change: 0 additions & 1 deletion Source/ReclaimFabric/DetourInjector.cs
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ public override bool Inject()
{
MethodInfo method1 = typeof(Thing).GetMethod("SmeltProducts", BindingFlags.Instance | BindingFlags.Public);
MethodInfo method2 = typeof(_Thing).GetMethod("_SmeltProducts", BindingFlags.Static | BindingFlags.NonPublic);
Detours.TryDetourFromTo(method1, method2);
if (!Detours.TryDetourFromTo(method1, method2))
{
return false;
Expand Down
Binary file modified Source/ReclaimFabric/bin/Debug/ReclaimFabric.dll
Binary file not shown.
Binary file modified Source/ReclaimFabric/bin/Debug/ReclaimFabric.pdb
Binary file not shown.
Binary file modified Source/ReclaimFabric/obj/Debug/ReclaimFabric.dll
Binary file not shown.
Binary file modified Source/ReclaimFabric/obj/Debug/ReclaimFabric.pdb
Binary file not shown.

0 comments on commit 140d6b0

Please sign in to comment.