@Override
    public void hook(Game game) {
        String[] statusb = game.getPlayer().toStatus().split("\n");
        StringBuilder sb = new StringBuilder();
        int cur = 0;
        for (String statusb1 : statusb) {
            if (statusb1.contains("\r")) {
                sb.append(statusb1).append("\n");
            } else {
                cur += statusb1.length();
                if (cur > getWidth() / getColumnWidth()) {
                    cur = 0;
                    sb.append("\n");
                }
                if (cur == 0 && statusb1.length() > 0 && statusb1.charAt(0) == ' ') {
                    sb.append(statusb1.substring(1));
                } else {
                    sb.append(statusb1);
                }
            }
        }
        setText(sb.toString());
    }