That will make sure it doesn't attempt to execute while you're dead.
Basically just adding this: !ObjectManager.Me.IsDeadMe to the check to make sure you're not dead. Not sure if "!Conditions.InGameAndConnectedAndAliveAndProductStartedNotInPause" is supposed to handle that or not, but it didn't seem to in my experience.
Auto Bandage
in Plugins - Vanilla
Posted
This is great! Thanks for doing this!
If you change out line 17 to read: