CleverNucleus / playerex

Adds RPG attributes to Minecraft using the Fabric ecosystem.
MIT License
53 stars 38 forks source link

PlayerEX level is dropping to 1 even if "Reset On Death" option set to 0% #135

Closed skel39eek66 closed 1 year ago

skel39eek66 commented 1 year ago

It's strange, but I set "Reset On Death" setting to 0 percent, but I still getting level 1 when my character dies

Here's video: https://streamable.com/kkbtip Log file: https://gist.github.com/Fleyzi/b4a9b67a8eb7ce97f288da8ebb6ec653

PlayerEx 3.5.4 Minecraft 1.19.2 Fabric Loader 0.14.21 Fabric API 0.76.0

CleverNucleus commented 1 year ago

image You are shown to have level zero here no?

skel39eek66 commented 1 year ago

Oops, that messed up. Anyways the Level (and all attributes) dropping to their default values even I set "Reset On Death" to 0 percent (that means "false").

CleverNucleus commented 1 year ago

Hi there, This is working as intended. When the config option is set to zero, everything should be reset to their defaults and your level should drop to zero - as it does in the video. When the config option is set to 100, you don't lose anything on death and your level remains the same. The config option percentage is the percentage of attributes kept after death, not lost.

See the changelog here: image