diff --git a/InvUI/src/main/java/de/studiocode/invui/gui/builder/GUIBuilder.java b/InvUI/src/main/java/de/studiocode/invui/gui/builder/GUIBuilder.java index 01d9a91..1be7d51 100644 --- a/InvUI/src/main/java/de/studiocode/invui/gui/builder/GUIBuilder.java +++ b/InvUI/src/main/java/de/studiocode/invui/gui/builder/GUIBuilder.java @@ -88,7 +88,7 @@ public class GUIBuilder { } public GUIBuilder setGUIs(@NotNull List guis) { - if (guiType != PAGED_GUIs) + if (guiType != PAGED_GUIs && guiType != TAB) throw new UnsupportedOperationException("GUIs cannot be set in this gui type."); this.guis = guis; return this;