15 lines
282 B
C#
15 lines
282 B
C#
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;
|
|
}
|
|
} |