Fabric API

Fabric API

108M Downloads

OP tab still showing when stacks have been added, even though it's disabled in options

Sjouwer opened this issue ยท 0 comments

commented

I'm adding item stacks to the OP tab like this:

ItemGroupEvents.modifyEntriesEvent(ItemGroups.OPERATOR).register(entries -> {
  entries.add(stack);
});

However when I do this and the player has the Operator Items Tab set to OFF, the tab will still show, though only with the item stacks I've added and not the ones from vanilla mc. On top of that these buttons for switching pages shows up that do nothing (see image). My expectation is that the tab won't show at all when it's disabled in the options.

image