Rename ELEMENT to MENU
This commit is contained in:
@@ -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));
|
||||
}
|
||||
|
||||
@@ -77,6 +77,6 @@ public abstract class JsonWidget<T extends Enum<T>>
|
||||
public static enum Type
|
||||
{
|
||||
BUTTON,
|
||||
ELEMENT
|
||||
MENU
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user