[GH-ISSUE #1300] [server-thread] Shield continues blocking damage after use is released #339

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

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

Tested commit: 83fa14e51b.

  1. Launch survival with --server-thread, hold a shield in either hand and face a nearby explosion source.
  2. Hold use for at least half a second, release it, then wait another half second.
  3. Detonate TNT about five blocks in front.
  4. Repeat with --no-server-thread, plus controls with no shield use and with use still held.

Expected: after releasing use, the shield stops protecting the player.

Actual: threaded mode still blocks the explosion after release. From 20 health, the unprotected control ends at 4.5648 in both modes; holding the shield keeps 20 in both. Releasing first gives 4.5648 in old mode but still 20 in threaded mode. Authoritative health checks confirm it.

Hypothesis: remote item use never starts local shield using state, so releasing the button never sends the release-use action to the server.

Acceptance: releasing shield use stops server-side blocking; holding use still protects normally.

Evidence: tools/singleplayer_more_audit.py --case shield-blast, paired traces/saves in .local/singleplayer-audit/more-a/shield-blast-*/. A fresh --case shield-main pair reproduces the same results in the main hand. Only read-only diagnostics were added. Related #615/#720 concern shield visuals; this reproduction establishes lingering protection.

Originally created by @rdbtCVS on GitHub (Oct 22, 2026). Original GitHub issue: https://github.com/horizon-rust/horizon/issues/1300 Tested commit: 83fa14e51b89eab728b8e233e9e5d95296bef93d. 1. Launch survival with `--server-thread`, hold a shield in either hand and face a nearby explosion source. 2. Hold use for at least half a second, release it, then wait another half second. 3. Detonate TNT about five blocks in front. 4. Repeat with `--no-server-thread`, plus controls with no shield use and with use still held. Expected: after releasing use, the shield stops protecting the player. Actual: threaded mode still blocks the explosion after release. From 20 health, the unprotected control ends at 4.5648 in both modes; holding the shield keeps 20 in both. Releasing first gives 4.5648 in old mode but still 20 in threaded mode. Authoritative health checks confirm it. Hypothesis: remote item use never starts local shield `using` state, so releasing the button never sends the release-use action to the server. Acceptance: releasing shield use stops server-side blocking; holding use still protects normally. Evidence: `tools/singleplayer_more_audit.py --case shield-blast`, paired traces/saves in `.local/singleplayer-audit/more-a/shield-blast-*/`. A fresh `--case shield-main` pair reproduces the same results in the main hand. Only read-only diagnostics were added. Related #615/#720 concern shield visuals; this reproduction establishes lingering protection.
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#339
No description provided.