mirror of
https://github.com/NotAKidoS/NAK_CVR_Mods.git
synced 2025-09-02 06:19:22 +00:00
[DropPropTweak] Cleanup
This commit is contained in:
parent
d22bc80b4d
commit
4307d85329
1 changed files with 1 additions and 1 deletions
|
@ -14,7 +14,7 @@ public class DropPropTweakMod : MelonMod
|
||||||
HarmonyInstance.Patch( // make drop prop actually usable
|
HarmonyInstance.Patch( // make drop prop actually usable
|
||||||
typeof(PlayerSetup).GetMethod(nameof(PlayerSetup.DropProp),
|
typeof(PlayerSetup).GetMethod(nameof(PlayerSetup.DropProp),
|
||||||
BindingFlags.Public | BindingFlags.Instance),
|
BindingFlags.Public | BindingFlags.Instance),
|
||||||
new HarmonyMethod(typeof(DropPropTweakMod).GetMethod(nameof(OnDropProp),
|
prefix: new HarmonyMethod(typeof(DropPropTweakMod).GetMethod(nameof(OnDropProp),
|
||||||
BindingFlags.NonPublic | BindingFlags.Static))
|
BindingFlags.NonPublic | BindingFlags.Static))
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue