diff --git a/PregnancyPlus/PregnancyPlus.Core/Hooks/PPPlugin.Hooks.Accessory.cs b/PregnancyPlus/PregnancyPlus.Core/Hooks/PPPlugin.Hooks.Accessory.cs index a6525cd..6b04662 100644 --- a/PregnancyPlus/PregnancyPlus.Core/Hooks/PPPlugin.Hooks.Accessory.cs +++ b/PregnancyPlus/PregnancyPlus.Core/Hooks/PPPlugin.Hooks.Accessory.cs @@ -104,7 +104,7 @@ public static void ChangeCopyAcsPostfix(CvsAccessoryChange __instance) var controller = GetCharaController(chaControl); if (controller == null) return; - var slotNum = __instance.selDst; + var slotNum = (int)AccessTools.Field(typeof(CvsAccessoryChange), "selDst").GetValue(__instance); controller.AccessoryStateChangeEvent(chaControl.chaID, slotNum); }