overlayColor = manager.gui.fontColor.get("ledger.error.background");
}
@Override
public void draw(int x, int y) {
EnumErrorCode state = tile.getErrorState();
if (state == EnumErrorCode.OK)
return;
// Draw background
drawBackground(x, y);
// Draw icon
drawIcon(state.getIcon(), x + 3, y + 4);
// Write description if fully opened
if (isFullyOpened()) {
// fontRendererObj.drawStringWithShadow(getTooltip(), x + 22, y +
// 8, 0xe1c92f);