} else if (minefield.getDamage() < Minefield.MAX_DAMAGE) {
game.addMinefield(minefield); revealMinefield(minefield); } else if (minefield.getDamage() < Minefield.MAX_DAMAGE) {
    private void deliverThunderInfernoMinefield(Coords coords, int playerId, int damage) {        Minefield minefield = null;        Enumeration minefields = game.getMinefields(coords).elements();        // Check if there already are Thunder minefields in the hex.        while (minefields.hasMoreElements()) {            Minefield mf = (Minefield) minefields.nextElement();            if (mf.getType() == Minefield.TYPE_THUNDER_INFERNO) {                minefield = mf;                break;            }        }        // Create a new Thunder Inferno minefield        if (minefield == null) {            minefield = Minefield.createThunderInfernoMF(coords, playerId, damage);            // Add to the old one        } else if (minefield.getDamage() < Minefield.MAX_DAMAGE) {            removeMinefield(minefield);            int oldDamage = minefield.getDamage();            damage += oldDamage;            damage = (damage > Minefield.MAX_DAMAGE) ? Minefield.MAX_DAMAGE : damage;            minefield.setDamage(damage);        }        game.addMinefield(minefield);        revealMinefield(minefield);    }