Initial Commit
This commit is contained in:
15
Patches/PlayerPatches.cs
Normal file
15
Patches/PlayerPatches.cs
Normal file
@@ -0,0 +1,15 @@
|
||||
using HarmonyLib;
|
||||
|
||||
namespace UnlockAll.Patches;
|
||||
|
||||
public static class PlayerPatches
|
||||
{
|
||||
[HarmonyPatch(typeof(Player), "CanCraftRecipe")]
|
||||
[HarmonyPrefix]
|
||||
public static bool PlayerPrefix(ref bool __result)
|
||||
{
|
||||
__result = true;
|
||||
|
||||
return false;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user