Scaling Health

Scaling Health

23M Downloads

Server area difficulty resets downwards to player difficulty after mob kill

Numilani opened this issue ยท 0 comments

commented

Versions

  • Scaling Health: 4.0.5 (1.16.5)
  • Silent Lib: 4.9.6
  • Forge: 36.2.0
  • Modpack: N/A
  • Optifine Installed: No

Expected Behavior

SERVER_WIDE area mode should ignore player difficulty.

Actual Behavior

Area difficulty is reset downwards to player difficulty after killing a mob.

Links/Images

Before killing mob: https://i.imgur.com/5UGHMQf.png

After killing mob: https://i.imgur.com/H1wn7ic.png

Steps to Reproduce the Problem

  1. Set config value areaMode to "SERVER_WIDE".
  2. OPTIONAL: set changePerSecond to 0.1 to increase difficulty faster, for easier testing.
  3. Join server. Wait a minute or two to allow difficulty to increase. /sh_difficulty get should show the same difficulty for player and area.
  4. Disconnect from server. Wait a minute or two to allow area difficulty to increase.
  5. Rejoin server. Run /sh_difficulty get. Area difficulty will now be higher than player difficulty.
  6. Kill a mob. Run /sh_difficulty get. Area difficulty will have dropped down to match the lower player difficulty.