@Override public void render(boolean inGame, SpriteBatch guiBatch) { if(chatAreaLayout != null) { guiBatch.draw(chatBackground, fontCache.getX() - 4, fontCache.getY() + 4, chatAreaLayout.width + 8, -(chatAreaLayout.height)); renderHud(guiBatch); } font.draw(guiBatch, "> " + currentMessage + (System.currentTimeMillis() % 1000 >= 500 ? "_" : ""), 4, 4 + font.getLineHeight()); }