for (int i = 0; i < this.buttonList.size(); i++)
{
if (this.buttonList.get(i) instanceof GuiButtonPress)
{
GuiButtonPress button = (GuiButtonPress) this.buttonList.get(i);
button.drawButton = true;
int permissionID = i - 1;
if (Permission.getPermission(permissionID) != null)