DarkUnbug NaN fix
DarkUnbug NaN fix is a Fabric tool for 1.20.1 that resets a player's broken HP Absorption data when it has become stuck on NaN values.
What it does
When the HP Absorption entry of a player's data is corrupted with NaN, the player can end up stuck in a death glitch state. The mod adds a trigger command, darkunbug fix, that resets HP Absorption for the player who runs it, so the issue can be cleared without an operator editing player data.
The author describes the problem as one that appears mostly on large modpack servers, and the mod was created for the DarkRPG modpack, where a player stuck in the glitch with the Hexblade origin could not recover. The mod builds on Allow Editing Player Data, adding a trigger that lets a player repair the damaged value on their own.
The mod is client and server, so the server and every player need it. Only the 1.20.1 build is published, as 1.0.0 for 1.20.1, and the code is under All rights reserved, so the mod is not open source.
Key features
Reset command
A command lets a player reset HP Absorption and clear the NaN state without asking a server administrator.
Player data repair
The fix targets broken HP Absorption entries in player data, which is where the stuck state is stored.
Stats reset
Running the fix also resets the character's stats, as a kill would, which returns the player to a normal state.
Fork of Allow Editing Player Data
The mod builds on Allow Editing Player Data and adds the trigger function as its new part.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Use cases
Stuck players on a modpack server
A player caught in the death glitch state on a large server can run the command to recover without server access.
Who it’s for: Players on Fabric modpack servers for 1.20.1 that have hit a stuck HP Absorption NaN state, and server owners who want to offer a self-service repair.
Questions
Does DarkUnbug NaN fix need to be installed on the server?
Which game version does the mod support?
What does the reset command change?
More from GamerPotionDev
What the author says
This mod was created for the DarkRPG modpack but can be used on its own. It is a fork of the Allow Editing Player Data mod and now includes the trigger function to allow players to resolve their broken HP and Absorption NaN status without asking server admins. This issue happens in large modpack servers where the HP…
Official listing
- Modrinth page
- modrinth.com/mod/darkunbug-nan-fix
- Owner
- GamerPotionDev
- Published
- 2026-06-09
- Updated on Modrinth
- 2026-06-09
- Facts verified
- 2026-10-15
