private static void Fill2DCallback( Player player, Vector3I[] marks, object tag )
{
DrawOperation op = ( DrawOperation )tag;
if ( !op.Prepare( marks ) )
return;
if ( player.WorldMap.GetBlock( marks[0] ) == Block.Air ) {
player.Confirm( Fill2DConfirmCallback, op, "{0}: Replace air?", op.Description );
} else {
Fill2DConfirmCallback( player, op, false );
}
}