Rename ELEMENT to MENU

This commit is contained in:
Marcel Konrad
2019-11-12 18:41:23 +01:00
parent ef37bd39d2
commit 0d37b07baf
2 changed files with 2 additions and 2 deletions

View File

@@ -100,7 +100,7 @@ public class ContentUsercontent extends Content
} }
} }
for(JsonMenu menu : this.getWidgets(this.content.getGui().getMenus(), JsonWidget.Type.ELEMENT)) for(JsonMenu menu : this.getWidgets(this.content.getGui().getMenus(), JsonWidget.Type.MENU))
{ {
container.add(this.menuFactory.createMenu(menu, this, container, x, y)); container.add(this.menuFactory.createMenu(menu, this, container, x, y));
} }

View File

@@ -77,6 +77,6 @@ public abstract class JsonWidget<T extends Enum<T>>
public static enum Type public static enum Type
{ {
BUTTON, BUTTON,
ELEMENT MENU
} }
} }