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
{
protected override MethodBase GetTargetMethod()
{
return typeof(ItemContainerClass).GetConstructors()[0];
}
protected override MethodBase GetTargetMethod() =>
typeof(ItemContainerClass).GetConstructors()[0];
[PatchPostfix]
private static void PatchPostfix(ref ItemContainerClass __instance)