if (tileId.equals(DEBUG_END_OF_PACK)) {
next(GameOverPhase.class);
return true;
}
TilePack tilePack = getTilePack();
Tile tile = tilePack.drawTile(tileId);
if (tile == null) {
logger.warn("Invalid debug draw id: " + tileId);
} else {
boolean riverActive = tilePack.getGroupState("river-start") == TileGroupState.ACTIVE || tilePack.getGroupState("river") == TileGroupState.ACTIVE;
if (game.hasCapability(RiverCapability.class) && tile.getRiver() == null && riverActive) {