This method should check is it the tab exist, but it will throw IndexOutOfBoundsException instead of NULL (for return FALSE)
java.lang.IndexOutOfBoundsException: Index: 2 Size: 2
at java.util.ImmutableCollections$AbstractImmutableList.outOfBounds(ImmutableCollections.java:333) ~[?:?]
at java.util.ImmutableCollections$List12.get(ImmutableCollections.java:585) ~[?:?]
at xyz.xenondevs.invui.gui.TabGuiImpl.isTabAvailable(TabGuiImpl.java:68) ~[?:?]
This method should check is it the tab exist, but it will throw IndexOutOfBoundsException instead of NULL (for return FALSE)