Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

skip-vanilla-damage-tick-when-shield-blocked option removes block sound when enabled #11761

Open
LaserSlime opened this issue Dec 21, 2024 · 4 comments
Labels
status: input wanted Looking for community feedback on this issue. version: 1.21.3 Game version 1.21.3 version: 1.21.4

Comments

@LaserSlime
Copy link

LaserSlime commented Dec 21, 2024

Expected behavior

When a player blocks their shield and another player hits it, the blocking player should hear a block sound in addition to a "weak attack" sound.

Observed/Actual behavior

The block sound does not play, instead only the "weak attack" sound plays.

Steps/models to reproduce

  1. Enable the skip-vanilla-damage-tick-when-shield-blocked option in paper-global.yml and start the server
  2. Join with 2 accounts and give one of them a shield and mute the audio on the other one
  3. Block your shield with said account (you can pause the game while blocking to continue blocking)
  4. Hit against the shield with the other account
  5. No block sound plays, only "weak attack"

Plugin and Datapack List

[18:13:53 INFO]: Server Plugins (0):

Paper version

[18:13:51 INFO]: Checking version, please wait...
[18:13:51 INFO]: This server is running Paper version 1.21.3-81-master@da71382 (2024-12-03T14:58:13Z) (Implementing API version 1.21.3-R0.1-SNAPSHOT)
You are running the latest version

Other

This did not happen on Paper 1.21.1.

@papermc-sniffer papermc-sniffer bot added the version: 1.21.3 Game version 1.21.3 label Dec 21, 2024
@electronicboy
Copy link
Member

electronicboy commented Dec 21, 2024

.3 is no longer going to see any fixes, can you reproduce this on .4?

@LaserSlime
Copy link
Author

Already? Dang.
But sure I'll try.

@LaserSlime
Copy link
Author

Ok it's still reproduceable on 1.21.4.

@lynxplay
Copy link
Contributor

This does not look like it'll be easily fixed given the bug that is skipping vanilla damage ticks that is re-enabled via this option means we just early opt out of any follow up logic.

That is why this option is in the unsupported block.
Obviously open to more input from the team, but to me the fix does not look simple enough to warrant its implementation for something as unsupported as adding back a spigot introduced bug that spigot itself already fixed

@lynxplay lynxplay added status: input wanted Looking for community feedback on this issue. version: 1.21.4 and removed status: needs triage labels Dec 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
status: input wanted Looking for community feedback on this issue. version: 1.21.3 Game version 1.21.3 version: 1.21.4
Projects
None yet
Development

No branches or pull requests

3 participants