[GH-ISSUE #1399] [server-thread] Players outside the world border take no damage #423

Closed
opened 2026-11-02 15:38:57 +07:00 by bsakaguchi · 0 comments
Owner

Originally created by @rdbtCVS on GitHub (Oct 23, 2026).
Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1399

Threaded regression at 83fa14e51b89eab728b8e233e9e5d95296bef93d, Linux/Vulkan.

Reproduce in survival:

  1. /worldborder center 0.0 0.0
  2. /worldborder set 10
  3. /worldborder damage buffer 0
  4. /worldborder damage amount .1
  5. /tp @s 8.0 100 .5 onto a safe platform, then wait two seconds.

Expected: remaining outside the damaging border reduces health, as in old singleplayer.

Actual: threaded health remains 20. Old health drops from 20 to 16 over the matched interval.

Evidence: two fresh pairs, .local/singleplayer-audit/border-{a,b}/damage-*/result.json and outside-border.png. Health is queried from the authoritative player after 40 ticks; no armor/effects or natural regeneration are involved. Teleporting outside isolates damage from the separate missing client-border update bug.

Hypothesis: tick_worldborder handles only Game::player, absent on the server thread; connected guests never receive this damage check.

Acceptance: eligible threaded players outside the current border receive normal border damage, respecting buffer/rate and game-mode protections.

Originally created by @rdbtCVS on GitHub (Oct 23, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1399 Threaded regression at `83fa14e51b89eab728b8e233e9e5d95296bef93d`, Linux/Vulkan. Reproduce in survival: 1. `/worldborder center 0.0 0.0` 2. `/worldborder set 10` 3. `/worldborder damage buffer 0` 4. `/worldborder damage amount .1` 5. `/tp @s 8.0 100 .5` onto a safe platform, then wait two seconds. Expected: remaining outside the damaging border reduces health, as in old singleplayer. Actual: threaded health remains 20. Old health drops from 20 to 16 over the matched interval. Evidence: two fresh pairs, `.local/singleplayer-audit/border-{a,b}/damage-*/result.json` and `outside-border.png`. Health is queried from the authoritative player after 40 ticks; no armor/effects or natural regeneration are involved. Teleporting outside isolates damage from the separate missing client-border update bug. Hypothesis: tick_worldborder handles only Game::player, absent on the server thread; connected guests never receive this damage check. Acceptance: eligible threaded players outside the current border receive normal border damage, respecting buffer/rate and game-mode protections.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
horizon-rust/horizon#423
No description provided.