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

Creative mode inventory softlock #106

Open
SuperNeon4ik opened this issue Oct 2, 2024 · 3 comments
Open

Creative mode inventory softlock #106

SuperNeon4ik opened this issue Oct 2, 2024 · 3 comments
Labels
bug Something isn't working

Comments

@SuperNeon4ik
Copy link
Contributor

It is possible to softlock inventory tabs by resetting customCreativeItems server rule when a player is not focused on the Noxesium items tab (or leaving the server also works). This can be fixed by either sending customCreativeItems again and letting the player switch tabs or restarting the client.

I am actually not sure if this is supposed to be reported here, but nonetheless better to disclose it somewhere than stay silent imo.

Steps to reproduce

  1. Send customCreativeItems with more than one item
  2. Player (in creative mode) switches to the second inventory tab (where the noxesium category tab is)
  3. Player switches to one of the static tabs (saved hotbars, search, inventory)
  4. Reset the server rule or leave the server
  5. Now you cannot access default category tabs and the tab switcher is gone

Video

_20241003_000352.webm
@Aeltumn Aeltumn added the bug Something isn't working label Oct 2, 2024
@Aeltumn
Copy link
Member

Aeltumn commented Oct 2, 2024

This is actually a fabric API bug, albeit that Noxesium is the only mod to ever have this happen, so I doubt fabric API would prioritise fixing this. I do think I could and should add a fix for this into Noxesium, but it's low priority.

@SuperNeon4ik
Copy link
Contributor Author

I also thought that it would be a fabric api issue. Low priority sounds good, since this probably doesn't affect many people.
Should I also report the issue to fabric? I glanced the issues on their repo, but didn't find one for this.
Thank you!

@Aeltumn
Copy link
Member

Aeltumn commented Oct 3, 2024

I wouldn't bother reporting it to fabric for now given how oddly specific it is. I'll write something in Noxesium to fix it eventually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Development

No branches or pull requests

2 participants