jpw1991 / chebs-necromancy

Cheb's Necromancy adds Necromancy to Valheim via craftable wands and structures. Minions will follow you, guard your base, and perform menial tasks.
The Unlicense
10 stars 4 forks source link

fix logic error #181

Closed jpw1991 closed 1 year ago

jpw1991 commented 1 year ago

Every instance of:

yield return new WaitWhile(() => Player.m_localPlayer == null && Player.m_localPlayer.m_sleeping);

is wrong and should instead be:

yield return new WaitWhile(() => Player.m_localPlayer == null || Player.m_localPlayer.m_sleeping);

jpw1991 commented 1 year ago

fixed in 3.0.1