Skip to content

Fix /cosmetics main menu categories not opening - #72

Open
GenOpenDiesel wants to merge 1 commit into
IamTheDefender:productionfrom
GenOpenDiesel:fix/main-menu-category-clicks
Open

Fix /cosmetics main menu categories not opening#72
GenOpenDiesel wants to merge 1 commit into
IamTheDefender:productionfrom
GenOpenDiesel:fix/main-menu-category-clicks

Conversation

@GenOpenDiesel

Copy link
Copy Markdown

Summary

  • Fix CosmeticsType.fromName so hyphenated Main-Menu.yml keys (Victory-Dances, Projectile-Trails, Bed-Destroys, etc.) correctly open category menus
  • Harden CategoryMenu slots parsing when slots is missing/invalid
  • Use reflection for ScreamingBedWars setPlaySound so the plugin builds against older API jars
  • Bump Lombok for Java 21 builds

Test plan

  • Open /cosmetics and click every category (Victory Dances, Projectile Trails, Final Kill Effects, Kill Messages, Bed Destroys, Death Cries, and the ones that already worked)
  • Confirm each opens its category GUI instead of doing nothing
  • Confirm Back/Balance still behave as before

Made with Cursor

CosmeticsType.fromName only matched exact enum names, so Main-Menu.yml entries like Victory-Dances never opened. Also harden CategoryMenu slots parsing and DeathCrySBW ScreamingBedWars compatibility.

Co-authored-by: Cursor <cursoragent@cursor.com>
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.

1 participant