Small Harmony refactor
This commit is contained in:
parent
b3ad618392
commit
d848346421
2 changed files with 2 additions and 4 deletions
|
@ -4,8 +4,7 @@ using UnityEngine;
|
|||
|
||||
namespace CustomCosmeticLoader.Patches
|
||||
{
|
||||
[HarmonyPatch(typeof(MarbleController))]
|
||||
[HarmonyPatch("ApplyMyCosmetics")]
|
||||
[HarmonyPatch(typeof(MarbleController), nameof(MarbleController.ApplyMyCosmetics))]
|
||||
internal class MarbleControllerApplyMyCosmeticsPatch
|
||||
{
|
||||
private static Cosmetic hijackSkin = null;
|
||||
|
|
|
@ -4,8 +4,7 @@ using UnityEngine;
|
|||
|
||||
namespace CustomCosmeticLoader.Patches
|
||||
{
|
||||
[HarmonyPatch(typeof(MarbleHolder))]
|
||||
[HarmonyPatch("SetMarble")]
|
||||
[HarmonyPatch(typeof(MarbleHolder), nameof(MarbleHolder.SetMarble))]
|
||||
internal class MarbleHolderSetMarblePatch
|
||||
{
|
||||
static void Postfix(MarbleHolder __instance, Cosmetic marbleObject)
|
||||
|
|
Loading…
Add table
Reference in a new issue