Skip to content

[NeoForge 1.21.1] Play click sound when learn/equip a skill via controller#2155

Merged
Yesssssman merged 1 commit intoEpic-Fight:1.21.1from
EchoEllet:chore/play-click-sound
Nov 4, 2025
Merged

[NeoForge 1.21.1] Play click sound when learn/equip a skill via controller#2155
Yesssssman merged 1 commit intoEpic-Fight:1.21.1from
EchoEllet:chore/play-click-sound

Conversation

@EchoEllet
Copy link
Contributor

  • When the player presses the physical controller's south button (e.g., X on a DualSense), the click sound does not play. However, when clicking the GUI button, the sound plays. This fixes the behavior consistently.
  • Make learnButton private and expose it via a getter method for consistency with Expose SkillBookScreen.learnButton #2152, preventing consumers/mods from setting it to null, which could cause a crash. This is better for maintainability and long-term stability.

@EchoEllet
Copy link
Contributor Author

Also sent a PR for Epic Skills Epic-Fight/epicskills#9

@Yesssssman Yesssssman merged commit be0d5a4 into Epic-Fight:1.21.1 Nov 4, 2025
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants