[PortableCameraAdditions] Fixes for 2023r171

This commit is contained in:
NotAKidoS 2023-07-29 00:22:58 -05:00
parent c4a7f51be3
commit b757ac39d7
4 changed files with 23 additions and 8 deletions

View file

@ -6,6 +6,19 @@ public class PortableCameraAdditions : MelonMod
{
public override void OnInitializeMelon()
{
//boobs
ApplyPatches(typeof(HarmonyPatches.PortableCameraPatches));
}
private void ApplyPatches(Type type)
{
try
{
HarmonyInstance.PatchAll(type);
}
catch (Exception e)
{
LoggerInstance.Msg($"Failed while patching {type.Name}!");
LoggerInstance.Error(e);
}
}
}