Prevent Ghost Mode from Disabling Flight
The Ghost Mode Issue
Ghost mode typically grants multiple abilities at once: invisibility, flight, and phase-through-blocks. When ghost mode activates, it may disable flight from other sources (like a flight charm or magic system), or vice versa.
Root Cause
Without PlayerAbilityLib, mods overwrite the flight flag in PlayerAbilities directly. When ghost mode sets flight to true, it erases any previous mod's flight state. When ghost mode ends, flight doesn't automatically restore.
Solution
1. Ensure your ghost mode mod and flight mods both support PlayerAbilityLib
2. Install the library as a dependency for all relevant mods
3. Activate ghost mode—flight should remain active or activate alongside it
4. Deactivate ghost mode—other flight sources should resume working
PlayerAbilityLib maintains a stack of ability requests, so each mod's flight setting is preserved independently. If ghost mode still interferes with flight, the ghost mode mod may need updating to use PlayerAbilityLib's API.