mirror of
https://github.com/hanetzer/sdraw_mods_cvr.git
synced 2025-09-04 02:49:23 +00:00
Not harsh world restrictions
This commit is contained in:
parent
0e72b04386
commit
0808b5aaaa
4 changed files with 27 additions and 14 deletions
|
@ -49,8 +49,7 @@ namespace ml_prm
|
|||
);
|
||||
|
||||
// Whitelist the toggle script
|
||||
var l_localComponentWhitelist = typeof(SharedFilter).GetField("_localComponentWhitelist", BindingFlags.NonPublic | BindingFlags.Static)!.GetValue(null) as HashSet<Type>;
|
||||
l_localComponentWhitelist!.Add(typeof(RagdollToggle));
|
||||
(typeof(SharedFilter).GetField("_localComponentWhitelist", BindingFlags.NonPublic | BindingFlags.Static)?.GetValue(null) as HashSet<Type>)?.Add(typeof(RagdollToggle));
|
||||
|
||||
MelonLoader.MelonCoroutines.Start(WaitForLocalPlayer());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue