Scaling Health

Scaling Health

23M Downloads

Health issue

PickyPixelStudio opened this issue · 0 comments

commented

Versions

  • Scaling Health: 8.0.1+8
  • Silent Lib: 8.0.0
  • Forge: 47.2.0
  • Modpack: N/A
  • Optifine Installed: No

Expected Behavior

When i relog on the world, i want the exact same amount than wheni log off.
If i set 30s for the initial time, and 10s for tickdelay of regeneration, it need to be 30s befor the first regen, and 10s between the followings.

Actual Behavior

When i relog on the world (not the first time), i've more health than expected. I've to /kill to get my expected health.
The initial time, and tickdelay of regeneration, is not applyied (i can see the value on debug overlay, i regen like vanilla)

Links/Images

Before the /kill
Capture d'écran 2023-11-29 015342

After the /kill
Capture d'écran 2023-11-29 015509

Steps to Reproduce the Problem

  1. Add the same datapack with 'player.json' (just change startingHealth, initialDelay and tickdelay)
  2. Create a new world (all here work as intended)
  3. Quit the game, and relaunch.
  4. Tada...