if (player.getInitiative(level) == init) { order[oi++] = player.getId();
try { if (player.getInitiative(level) == init) { order[oi++] = player.getId(); } } catch (ArrayIndexOutOfBoundsException ex) {  System.err.println("Server: ArrayIndexOutOfBoundsException ordering initiative.  oi=" + oi + ", order.length = " + order.length);
    private int orderByInit(int previousInit, int init, int level, int[] order, int oi) {        if (isInitTie(init, level)) {            for (int j = 2; j <= 12; j++) {               oi = orderByInit(init, j, level + 1, order, oi);             }            return oi;        }        for (Enumeration i = game.getPlayers(); i.hasMoreElements();) {            final Player player = (Player)i.nextElement();            // check previous initiative and that the player is on this level            if (player.getInitiativeSize() <= level || (level > 0 && player.getInitiative(level - 1) != previousInit)) {                continue;            }            if (player.getInitiative(level) == init) {                order[oi++] = player.getId();            }        }        return oi;    }