public void draw(Graphics g, GameContainer gc) {
        if(!showerror) {
            currentworld.draw(g,gc);
            player.draw(g);
            chat.draw(g);
        } else {
            font.drawString((LostAdventure.screenwidth/2)-(font.getWidth(error)/2),(LostAdventure.screenheight/2)-(font.getHeight(error)/2),error);
        }
    }