initial release

This commit is contained in:
NotAKidoS 2023-02-17 07:14:55 -06:00
parent 81d3bca79b
commit 25fa179bd8
6 changed files with 216 additions and 0 deletions

View file

@ -0,0 +1,24 @@
using MelonLoader;
namespace NAK.Melons.TrackedControllerFix;
public class TrackedControllerFixMod : MelonMod
{
public override void OnInitializeMelon()
{
ApplyPatches(typeof(HarmonyPatches.PlayerSetupPatches));
}
private void ApplyPatches(Type type)
{
try
{
HarmonyInstance.PatchAll(type);
}
catch (Exception e)
{
LoggerInstance.Msg($"Failed while patching {type.Name}!");
LoggerInstance.Error(e);
}
}
}