first commit
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
using System.Reflection;
|
||||
using NitroxClient.GameLogic;
|
||||
using NitroxModel.Helper;
|
||||
|
||||
namespace NitroxPatcher.Patches.Dynamic;
|
||||
|
||||
public sealed partial class MedicalCabinet_OnHandClick_Patch : NitroxPatch, IDynamicPatch
|
||||
{
|
||||
private static readonly MethodInfo TARGET_METHOD = Reflect.Method((MedicalCabinet t) => t.OnHandClick(default(GUIHand)));
|
||||
|
||||
public static void Postfix(MedicalCabinet __instance)
|
||||
{
|
||||
Resolve<MedkitFabricator>().Clicked(__instance);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user