This commit is contained in:
IgorEisberg 2023-07-08 23:54:22 +03:00
parent f5d3431f71
commit db8e7de58e

View File

@ -68,10 +68,8 @@ namespace IcyClawz.ItemSellPrice
public class SecureContainerPatch : ModulePatch public class SecureContainerPatch : ModulePatch
{ {
protected override MethodBase GetTargetMethod() protected override MethodBase GetTargetMethod() =>
{ typeof(ItemContainerClass).GetConstructors()[0];
return typeof(ItemContainerClass).GetConstructors()[0];
}
[PatchPostfix] [PatchPostfix]
private static void PatchPostfix(ref ItemContainerClass __instance) private static void PatchPostfix(ref ItemContainerClass __instance)