Hi, i am getting this error on use surgery =(, also my bodypart health won't regenerate
Code
[Exception] : KeyNotFoundException: The given key was not present in the dictionary.
System.Collections.Generic.Dictionary`2[TKey,TValue].get_Item (TKey key) (at <eae584ce26bc40229c1b1aa476bfa589>:0)
GClass2463+GClass2464.Make (IEffect effect) (at <448e567fc8c849f8a66327014c6f134c>:0)
EFT.HealthSystem.ActiveHealthController.method_24 (EFT.HealthSystem.ActiveHealthController+GClass2415 effect) (at <448e567fc8c849f8a66327014c6f134c>:0)
EFT.HealthSystem.ActiveHealthController+GClass2415.method_0 () (at <448e567fc8c849f8a66327014c6f134c>:0)
EFT.HealthSystem.ActiveHealthController+GClass2415.Create[TEffect] (EFT.HealthSystem.ActiveHealthController health, EBodyPart bodyPart, System.Nullable`1[T] delayTime, System.Nullable`1[T] workTime, System.Nullable`1[T] residueTime, System.Nullable`1[T] strength, System.Nullable`1[T] updateTime, System.Action`1[T] initCallback) (at <448e567fc8c849f8a66327014c6f134c>:0)
EFT.HealthSystem.ActiveHealthController.AddEffect[TEffect] (EBodyPart bodyPart, System.Nullable`1[T] delayTime, System.Nullable`1[T] workTime, System.Nullable`1[T] residueTime, System.Nullable`1[T] strength, System.Action`1[T] initCallback) (at <448e567fc8c849f8a66327014c6f134c>:0)
RealismMod.HealthRegenEffect.Tick () (at <12c6edd2174e4a738768d66165ae0a87>:0)
RealismMod.RealismHealthController.TickEffects () (at <12c6edd2174e4a738768d66165ae0a87>:0)
RealismMod.RealismHealthController.ControllerTick () (at <12c6edd2174e4a738768d66165ae0a87>:0)
RealismMod.RealismHealthController.ControllerUpdate () (at <12c6edd2174e4a738768d66165ae0a87>:0)
RealismMod.Plugin.Update () (at <12c6edd2174e4a738768d66165ae0a87>:0)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
Class358:UnityEngine.ILogHandler.LogException(Exception, Object)
UnityEngine.Debug:CallOverridenDebugHandler(Exception, Object)
Display More